API Docs for: 0.0.8-0
Show:

RampMap Class

Module: UI

Events

RampMap.events.ADD_LAYER

Fires when a layer is added by a user

RampMap.events.ADD_LAYER_READY

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

RampMap.events.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.events.CENTER_AT [subscribed]

Centers the map at the given point.

Event Payload:

RampMap.events.EXTENT_CHANGE

Republishes a standard ESRI map compnent event extent-change.

RampMap.events.PAN_END

Republishes a standard ESRI map compnent event pan-end.

RampMap.events.PAN_START

Republishes a standard ESRI map compnent event pan-start.

RampMap.events.REORDER_END

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

RampMap.events.SET_EXTENT [subscribed]

Changes the current extent of the map.

Event Payload:

RampMap.events.UPDATE_END

Republishes a standard ESRI map compnent event update-end.

RampMap.events.ZOOM_END

Republishes a standard ESRI map compnent event zoom-end.

RampMap.events.ZOOM_START

Republishes a standard ESRI map compnent event zoom-start.