Spec-Zone.ru › MapLibre GL JS

MapBoxZoomEvent

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

Extends

  • MapLibreEvent<MouseEvent>

Properties

originalEvent

originalEvent: MouseEvent

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

Overrides

MapLibreEvent.originalEvent


target

target: Map

The Map instance that triggered the event

Overrides

MapLibreEvent.target


type

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

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

Overrides

MapLibreEvent.type

© MapLibre contributors
Licensed under the 3-Clause BSD License.
https://maplibre.org/maplibre-gl-js/docs/API/classes/MapBoxZoomEvent/

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API