MapLibreZoomEvent
MapLibreZoomEvent =
object
Defined in: src/ui/events.ts:678
A MapLibreZoomEvent
is the event type for the boxzoom-related map events emitted by the BoxZoomHandler.
Properties
originalEvent
originalEvent:
MouseEvent
Defined in: src/ui/events.ts:690
The DOM event that triggered the boxzoom event. Can be a MouseEvent
or KeyboardEvent
target
target:
Map
Defined in: src/ui/events.ts:686
The Map
instance that triggered the event
type
type:
"boxzoomstart"
|"boxzoomend"
|"boxzoomcancel"
Defined in: src/ui/events.ts:682
The type of boxzoom event. One of boxzoomstart
, boxzoomend
or boxzoomcancel