For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Class MapMovementEvent
Hierarchy (View Summary)
- MapLibreEvent<MouseEvent | TouchEvent | WheelEvent | undefined>
- MapMovementEvent
Index
Constructors
Properties
Constructors
constructor
Parameters
- type: string
Optionaldata: object
Returns MapMovementEvent
Properties
originalEvent
target
The object that fired the event. Set when the event is fired, and narrowed to a more
specific type (e.g. Map, Marker) by the event subclasses.
type
type:
| "movestart"
| "move"
| "moveend"
| "zoomstart"
| "zoom"
| "zoomend"
| "rotatestart"
| "rotate"
| "rotateend"
| "dragstart"
| "drag"
| "dragend"
| "pitchstart"
| "pitch"
| "pitchend"
| "rollstart"
| "roll"
| "rollend"
| "movestart"
| "move"
| "moveend"
| "zoomstart"
| "zoom"
| "zoomend"
| "rotatestart"
| "rotate"
| "rotateend"
| "dragstart"
| "drag"
| "dragend"
| "pitchstart"
| "pitch"
| "pitchend"
| "rollstart"
| "roll"
| "rollend"
MapMovementEventis the event type for the camera-transition map events:movestart,move,moveend,zoomstart,zoom,zoomend,rotatestart,rotate,rotateend,dragstart,drag,dragend,pitchstart,pitch,pitchend,rollstart,rollandrollend. These are fired as the map's view changes, as a result of either user interaction or methods such as Map.jumpTo / Map.flyTo.