Skip to content

MapLibreZoomEvent

MapLibreZoomEvent = object

Defined in: ui/events.ts:687

A MapLibreZoomEvent is the event type for the boxzoom-related map events emitted by the BoxZoomHandler.

Properties

originalEvent

originalEvent: MouseEvent

Defined in: ui/events.ts:699

The DOM event that triggered the boxzoom event. Can be a MouseEvent or KeyboardEvent


target

target: MapLibreMap

Defined in: ui/events.ts:695

The Map instance that triggered the event


type

type: "boxzoomstart" | "boxzoomend" | "boxzoomcancel"

Defined in: ui/events.ts:691

The type of boxzoom event. One of boxzoomstart, boxzoomend or boxzoomcancel