Constructs a new MapSidebarController class. A user interface control that displays a UI panel on either the left or right side of a web map.

Constructor

Common.MapSidebar

(
  • options
)

Parameters:

  • options Object

Example:

var leftSideBar = new MapSidebar({ position: "left", showTab: true, id: "left-panel", map: map });

Item Index

Methods

togglePanel

()

Toggles the visibility of the main content area of the panel.