Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


leaflet.extras2 (version 1.3.1)

removeSidebar: Remove the Sidebar

Description

Remove the Sidebar

Usage

removeSidebar(map, sidebar_id = NULL)

Value

the new map object

Arguments

map

A leaflet map widget

sidebar_id

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

See Also

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