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.
if (FALSE) {
# run Shiny app to demo the sidebar pane
if (interactive()) {
runExample("mapManager")
}
}