mapManager | R Documentation |
Constructs a widget for managing items on a Leaflet map. This widget is designed to be used in conjunction with an existing Leaflet Map within a Shiny web application.
mapManager(x, width = NULL, height = NULL, elementId = NULL)
x |
MapManager object. |
width |
|
height |
|
elementId |
|
The widget sends a list
with the following values to the server:
character
identifier for layer to update.
character
name of the updated setting
.
numeric
or logical
values.
## Not run:
# run Shiny app to demo the sidebar pane
if (interactive()) {
runExample("mapManager")
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.