Reusable Accessible Mapping Platform

API Docs for: 5.3.2
Show:

RampMap Class

Module: UI

Events

RampMap.ADD_LAYER

Fires when a layer is added by a user

RampMap.ADD_LAYER_READY

Fires when a layer added by a user is ready to view

RampMap.ALL_LAYERS_LOADED

Indicates that all the map layers are loaded.

RampMap.CENTER_AND_ZOOM [subscribed]

String

Center and zoom the map to the given point.

Event Payload:

  • event Object
    • graphic Esri/graphic

      the graphic object to center the map on

    • level Integer

      the zoom level

    • callback Function

      the function to call after the center and zoom action is complete

RampMap.CENTER_AT [subscribed]

Centers the map at the given point.

Event Payload:

RampMap.CLICK

Republishes a standard ESRI map click event 'click'.

RampMap.EXTENT_CHANGE

Republishes a standard ESRI map component event extent-change.

RampMap.INITIAL_BASEMAP_LOADED

Indicates that the initial basemap has loaded.

RampMap.PAN_END

Republishes a standard ESRI map component event pan-end.

RampMap.PAN_START

Republishes a standard ESRI map component event pan-start.

RampMap.REORDER_END

Fires when the reorder of the layers in the layer managers has completed finished.

RampMap.SET_EXTENT [subscribed]

Changes the current extent of the map.

Event Payload:

RampMap.SET_EXTENT [subscribed]

Changes the current extent of the map.

Event Payload:

RampMap.UPDATE_END

Republishes a standard ESRI map component event update-end.

RampMap.ZOOM_END

Republishes a standard ESRI map component event zoom-end.

RampMap.ZOOM_START

Republishes a standard ESRI map component event zoom-start.