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
characterwidth of the displayed widget. Defaults toNULLsuch that the widget is automatically sized.- height
characterwidth of the displayed widget. Defaults toNULLsuch that the widget is automatically sized.- elementId
characterHTML identifier for the widget. Defaults toNULL.
Server value
The widget sends a list with the following values to the server:
- id
characteridentifier for layer to update.- setting
charactername of the updated setting
.
- value
numericorlogicalvalues.
Examples
# \dontrun{
# run Shiny app to demo the sidebar pane
if (interactive()) {
runExample("mapManager")
}
# }