Skip to contents

Open the Sidebar by ID

Usage

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