For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Class MapWheelEvent
Hierarchy (View Summary)
- Event
- MapWheelEvent
Constructors
constructor
-
Parameters
- type: string
- map: MapLibreMap
- 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
MapWheelEventis the event type for thewheelmap event.