On this page

Class MapWheelEvent

MapWheelEvent is the event type for the wheel map event.

Hierarchy (View Summary)

Index

Constructors

Properties

Accessors

Methods

Constructors

Properties

originalEvent: WheelEvent

The DOM event which caused the map event.

target: MapLibreMap

The Map object that fired the event.

type: "wheel"

The event type.

Accessors

  • get defaultPrevented(): boolean

    true if preventDefault has been called.

    Returns boolean

Methods

  • Prevents subsequent default processing of the event by the map.

    Calling this method will prevent the behavior of ScrollZoomHandler.

    Returns void

Was this helpful?
SDK JS
Reference
MapWheelEvent