Reusable Accessible Mapping Platform

API Docs for: 5.0.0
Show:

AdvancedToolbar Class

AdvancedToolbar class.

Methods

deactivateAll

(
  • except
)
private

Deactivates all the tools. Used when closing the Advanced toolbar or when another tool is being activated.

Parameters:

  • except Tool

    A tool module that should not be deactivated.

newPopup

(
  • popupAttr
)
private

Create a new PopupBase object from the settings provided.

Parameters:

Returns:

popup

toggleToolbar

(
  • d
  • doOpen
)
private

Runs the open/close animation of the toolbar additionally managing the animation of adjusting the height of the details panel to accommodate the expanded toolbar.

Parameters:

  • d Deferred

    a deferred to be resolved upon completion of the animation

  • doOpen Boolean

    if true - the toolbar show open; if false - the toolbar should close

ui.init

() private

Initiates additional UI components of the widget, setting listeners and other stuff.

Events

advancedToolbar.ADVANCED_PANEL_CHANGED

Provided by the UI module.

Defined in src\js\RAMP\Modules\eventManager.js:761

[Not Used]