Entries
Triggered when the user cancels a "box zoom" interaction, or when the bounding box does not meet the minimum size threshold.
Triggered when a "box zoom" interaction ends.
Triggered when a "box zoom" interaction starts.
Triggered whenever the cooperativeGestures option prevents a gesture from being handled by the map.
Triggered when any map data loads or changes.
Triggered when a request for one of the map's sources' tiles is aborted. Triggered when a request for one of the map's sources' data is aborted.
Triggered when any map data (style, source, tile, etc) begins loading or changing asynchronously. All dataloading events are followed by a dataDidUpdate, dataUpdateDidAbort or error events.
Triggered when a user taps and releases twice at the same point on the map in rapid succession.
Triggered when a "drag to pan" interaction ends.
Triggered when a "drag to pan" interaction starts.
Triggered only once in a Map instance lifecycle, when both the load event and the terrain event with non-null terrain are triggered.
Triggered just after the map completes a transition from one view to another, as the result of either user interaction or methods such as jumpTo.
Triggered just before the map begins a transition from one view to another, as the result of either user interaction or methods such as jumpTo.
Triggered repeatedly during the map's pitch (tilt) animation between one state and another as the result of either user interaction or methods such as flyTo.
Triggered immediately after the map's pitch (tilt) finishes changing as the result of either user interaction or methods such as flyTo.
Triggered whenever the map's pitch (tilt) begins a change as the result of either user interaction or methods such as flyTo.
Triggered when map's projection is modified in other ways than by map being moved.
Triggered only once after load and wait for all the controls managed by the Map constructor to be dealt with. Since the ready event waits that all the basic controls are nicely positioned, it is safer to use ready than load if you plan to add other custom controls.
Triggered when a "drag to rotate" interaction ends.
Triggered when a "drag to rotate" interaction starts.
Triggered when one of the map's sources loads or changes, including if a tile belonging to a source loads or changes.
Triggered when a request for one of the map's sources' data is aborted.
Triggered when one of the map's sources begins loading or changing asynchronously. All sourceUpdateDidStart events are followed by a sourceDidUpdate, sourceUpdateDidAbort or error events.
Triggered when the map's style loads or changes.
Triggered when the map's style begins loading or changing asynchronously. All styleUpdateDidStart events are followed by a styleDidUpdate or error events.
Triggered when an icon or pattern needed by the style is missing.
Triggered when a terrain event occurs within the map.
The terrainAnimationDidStart event is triggered when the animation begins transitioning between terrain and non-terrain states.
The terrainAnimationDidStop event is triggered when the animation between terrain and non-terrain states ends.
Triggered when a touch is cancelled within the map.
Triggered when a touch ends within the map.
Triggered when a touch moves within the map.
Triggered when a touch starts within the map.
Triggered just after the map completes a transition from one zoom level to another, as the result of either user interaction or methods such as flyTo.
Triggered just before the map begins a transition from one zoom level to another, as the result of either user interaction or methods such as flyTo.