Reusable Accessible Mapping Platform

API Docs for: 5.3.1
Show:

Navigation Class

Navigation class.

This module provide function to initialize navigation widget using settings stored in global configuration object.

NOTE: jquery.ui.navigation.js is required to create the object

Imports RAMP Modules:

GlobalStorage
EventManager

Methods

init

(
  • currentLevel
)

Initialize navigation widget for pan and zooming using global configuration object

Parameters:

initListeners

() private

Listen to map evens and adjust the navigation widget accordingly

initTopics

() private

Listen to internal events and republish for other modules' benefit

Events

Navigation.FULL_EXTENT

Provided by the UI module.

Defined in src/js/RAMP/Modules/eventManager.js:749

Published whenever the user clicks on the full extent button in the navigation widget.

Navigation.PAN

Provided by the UI module.

Defined in src/js/RAMP/Modules/eventManager.js:727

Published whenever the user clicks on the pan buttons.

Navigation.ZOOM

Provided by the UI module.

Defined in src/js/RAMP/Modules/eventManager.js:742

Published whenever the user tries to zoom using the slider.

Navigation.ZOOM_STEP

Provided by the UI module.

Defined in src/js/RAMP/Modules/eventManager.js:735

Published whenever the user tries to zoom using the arrow buttons.