Remove the Sidebar
removeSidebar(map, sidebar_id = NULL)
A leaflet map widget
The id of the sidebar (per sidebar_tabs
).
Defaults to NULL
such that the first sidebar is removed.
the new map
object
Other Sidebar Functions:
addSidebar()
,
closeSidebar()
,
openSidebar()
,
sidebar_pane()
,
sidebar_tabs()