Description Usage Arguments Value
View source: R/leaflet-utils.R
Add sf vector selection layer
1 | lflt_sf(map, sf, pal_f = topo.colors(10), ...)
|
map |
leaflet map object |
sf |
sf object containing vector data |
pal_f |
character vector of colors |
... |
additional variables passed to |
a leaflet map object with sf vector data overlaid
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.