View source: R/leaflet-utils.R
Plot selected rst layer reactively using leafletProxy
1 2 | lflt_rst_selected(rst, varname = NULL, option = "A", label = NULL,
opacity = 0.8)
|
rst |
sedMaps |
varname |
selected sedMaps |
option |
selected |
label |
legend label. Defaults to |
opacity |
layer opacity |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.