Class MapWheelEventMaptiler
Hierarchy (View Summary)
- MapWheelEvent
- MapWheelEvent
Index
Constructors
Properties
Accessors
Methods
Constructors
Maptilerconstructor
Parameters
- type: string
- map: MapLibreMap | Map
- originalEvent: WheelEvent
Returns MapWheelEvent
Properties
originalEvent
The DOM event which caused the map event.
target
The Map object that fired the event.
type
type: "wheel"
The event type.
Accessors
defaultPrevented
- get defaultPrevented(): boolean
trueifpreventDefaulthas been called.Returns boolean
Methods
preventDefault
Prevents subsequent default processing of the event by the map.
Calling this method will prevent the behavior of ScrollZoomHandler.
Returns void
Was this helpful?
MapWheelEventis the event type for thewheelmap event.