Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration MapEvent

Events that can be triggered by an InteractiveMap instance.

Index

Enumeration members

AFTER_CHANGE_BOUNDS

AFTER_CHANGE_BOUNDS: = "after:change:bounds"

Fired after the visible map bounds has changed as a result of a center change, pan or zoom.

BEFORE_CHANGE_BOUNDS

BEFORE_CHANGE_BOUNDS: = "before:change:bounds"

Fired when the visible map bounds is about to change, either before a center change, pan or zoom.

CHANGE_BOUNDS

CHANGE_BOUNDS: = "change:bounds"

Fired when the map viewport changes, either after a bounds/center or zoom change.

CHANGE_CENTER

CHANGE_CENTER: = "change:center"

Fired when the center of the map viewport has changed.

CHANGE_UNITS

CHANGE_UNITS: = "change:units"

Fired when the map unit has changed, either imperial or metric.

CHANGE_ZOOM

CHANGE_ZOOM: = "change:zoom"

Fired when the zoom level has changed.

CLICK

CLICK: = "click"

Fired when the user clicks (or taps) the map.

DBL_CLICK

DBL_CLICK: = "dblclick"

Fired when the user double-clicks (or double-taps) the map.

LAYER_ADD

LAYER_ADD: = "layer:add"

Fired when a layer is added to the map.

LAYER_REMOVE

LAYER_REMOVE: = "layer:remove"

Fired when a layer is removed from the map.

LAYER_UPDATE

LAYER_UPDATE: = "layer:update"

LOAD

LOAD: = "load"

Fired when the map is initialized once its center and zoom have been set for the first time.

MARKER_CLICK

MARKER_CLICK: = "marker:click"

Fired when the user clicks (or taps) a marker on the map.

MARKER_DRAG

MARKER_DRAG: = "marker:drag"

Fired repeatedly while the user drags a marker.

MARKER_DRAG_END

MARKER_DRAG_END: = "marker:dragend"

Fired when the user stops dragging a marker.

MARKER_DRAG_START

MARKER_DRAG_START: = "marker:dragstart"

Fired when the user starts dragging a marker.

MARKER_MOUSEOUT

MARKER_MOUSEOUT: = "marker:mouseout"

MARKER_MOUSEOVER

MARKER_MOUSEOVER: = "marker:mouseover"

MOUSE_DOWN

MOUSE_DOWN: = "mousedown"

Fired when the user pushes the mouse button on the map.

MOUSE_MOVE

MOUSE_MOVE: = "mousemove"

Fired while the mouse moves over the map.

MOUSE_OUT

MOUSE_OUT: = "mouseout"

Fired when the mouse leaves the map.

MOUSE_OVER

MOUSE_OVER: = "mouseover"

Fired when the mouse enters the map.

MOUSE_UP

MOUSE_UP: = "mouseup"

Fired when the user releases the mouse button on the map.

MOVE

MOVE: = "move"

Fired repeatedly during any movement of the pan, including pan and fly animations.

MOVE_END

MOVE_END: = "move:end"

Fired when the center of the map stops changning (e.g. user stopped dragging the map).

MOVE_START

MOVE_START: = "move:start"

Fired when the map starts changing (e.g. user starts dragging the map).

READY

READY: = "ready"

Fired when the map instance has initialized and is ready.

RESIZE

RESIZE: = "resize"

Fired when the map is resized.

SHAPE_CLICK

SHAPE_CLICK: = "shape:click"

Fired when the user clicks (or taps) a shape on the map.

SHAPE_MOUSEOUT

SHAPE_MOUSEOUT: = "shape:mouseout"

SHAPE_MOUSEOVER

SHAPE_MOUSEOVER: = "shape:mouseover"

SOURCE_ADD

SOURCE_ADD: = "source:add"

Fired when a content source is added to the map.

SOURCE_LOAD_DONE

SOURCE_LOAD_DONE: = "source:load:done"

Fired when a data source has completed loading data.

SOURCE_LOAD_START

SOURCE_LOAD_START: = "source:load:start"

Fired when a data source has starting loading new data.

SOURCE_REMOVE

SOURCE_REMOVE: = "source:remove"

Fired when a content source is removed from the map.

TIMELINE_CHANGE

TIMELINE_CHANGE: = "timeline:change"

Fired when the current time/date for the map timeline changes.

TIMELINE_PLAY

TIMELINE_PLAY: = "timeline:play"

Fired when the map timeline begins playback.

TIMELINE_STOP

TIMELINE_STOP: = "timeline:stop"

Fired when the map timeline stops playback.

ZOOM

ZOOM: = "zoom"

Fired repeatedly during any change in zoom level, including zoom and fly animations.

ZOOM_END

ZOOM_END: = "zoom:end"

Fired when the map has changed, after any animations.

ZOOM_START

ZOOM_START: = "zoom:start"

Fired when the map zoom is about to change (e.g. before zoom animation).

Generated using TypeDoc