mapManagerSidebarPane: Map manager sidebar pane

View source: R/ui_mapManagerSidebarPane.R

mapManagerSidebarPaneR Documentation

Map manager sidebar pane

Description

Constructs a sidebar pane for managing the layers on a leaflet::leafletOutput() map.

Usage

mapManagerSidebarPane(id, mapManagerId = paste0(id, "_settings"))

Arguments

id

character identifier for the sidebar pane.

mapManagerId

character identifier for the mapManager() widget to create within the sidebar pane. This widget is used to control the settings for new solutions. Defaults to paste0(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.

Value

A shiny.tag object with the sidebar pane.

Examples

## Not run: 
# run Shiny app to demo the sidebar pane
if (interactive()) {
  runExample("mapManagerSidebarPane")
}

## End(Not run)


NCC-CNC/wheretowork documentation built on Feb. 27, 2025, 6:11 p.m.