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.
Arguments
- x
MapManager object.
- width
character
width of the displayed widget. Defaults toNULL
such that the widget is automatically sized.- height
character
width of the displayed widget. Defaults toNULL
such that the widget is automatically sized.- elementId
character
HTML identifier for the widget. Defaults toNULL
.
Server value
The widget sends a list
with the following values to the server:
- id
character
identifier for layer to update.- setting
character
name of the updated setting
.
- value
numeric
orlogical
values.
Examples
# \dontrun{
# run Shiny app to demo the sidebar pane
if (interactive()) {
runExample("mapManager")
}
# }