Reusable Accessible Mapping Platform

API Docs for: 5.0.0
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

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

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

Published whenever the user clicks on the pan buttons.

Navigation.ZOOM

Provided by the UI module.

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

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

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