Constructs a sidebar pane for managing the layers on a
leaflet::leafletOutput()
map.
mapManagerSidebarPane(id, mapManagerId = paste0(id, "_settings"))
id |
|
---|---|
mapManagerId |
|
A shiny.tag
object with the sidebar pane.
This is designed to be used as an argument to leaflet.extras2::sidebar_tabs when specifying the user interface for a Shiny web application.
if (FALSE) {
# run Shiny app to demo the sidebar pane
if (interactive()) {
runExample("mapManagerSidebarPane")
}
}