Open the Sidebar by ID

openSidebar(map, id, sidebar_id = NULL, ns = NULL)

Arguments

map

A leaflet map widget

id

The id of the sidebar_pane to open.

sidebar_id

The id of the sidebar (per sidebar_tabs). Defaults to NULL such that the first sidebar is used.

ns

The namespace function, if used in Shiny modules.

Value

the new map object

See also

Other Sidebar Functions: addSidebar(), closeSidebar(), removeSidebar(), sidebar_pane(), sidebar_tabs()