Class MapWheelEvent

MapWheelEvent is the event type for the wheel map event.

Hierarchy (view full)

Constructors

Properties

Accessors

Methods

Constructors

  • Parameters

    • type: string
    • map: Map
    • originalEvent: WheelEvent

    Returns MapWheelEvent

Properties

originalEvent: WheelEvent

The DOM event which caused the map event.

target: Map

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