Reusable Accessible Mapping Platform

API Docs for: 5.3.1
Show:

AdvancedToolbar Class

AdvancedToolbar class.

Imports RAMP Modules:

EventManager
Map
GlobalStorage
Util
Dictionary
TmplHelper
PopupManager

Uses RAMP Templates:

templates/advanced_toolbar_template.json

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.

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:780

[Not Used]