Function to make quick leaflet maps of spatial data
1 2 |
plot_data |
An sp, sf or rasterLayer object to plot |
value_field |
Names of column corresponding to values to plot |
colors |
Optional set of hexcolors to create a color palette from |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.