Constructs a sidebar pane for managing the layers on a
leaflet::leafletOutput() map.
Usage
mapManagerSidebarPane(id, mapManagerId = paste0(id, "_settings"))Arguments
- id
characteridentifier for the sidebar pane.- mapManagerId
characteridentifier for themapManager()widget to create within the sidebar pane. This widget is used to control the settings for new solutions. Defaults topaste0(id, "_settings").
Details
This is designed to be used as an argument to leaflet.extras2::sidebar_tabs when specifying the user interface for a Shiny web application.
Examples
# \dontrun{
# run Shiny app to demo the sidebar pane
if (interactive()) {
runExample("mapManagerSidebarPane")
}
# }