View source: R/leaflet-utils.R
Highlight selected sf polygons
1 | lflt_sf_selected(sf, ids, pal_f = topo.colors(10), ...)
|
sf |
sf object containing vector data |
ids |
character vector of selected |
pal_f |
character vector of colors |
... |
additional variables passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.