Close the Sidebar
closeSidebar(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 used.
the new map
object
Other Sidebar Functions:
addSidebar()
,
openSidebar()
,
removeSidebar()
,
sidebar_pane()
,
sidebar_tabs()