MapWheelEvent
MapWheelEvent is the event type for the wheel map event.
Extends
Accessors
defaultPrevented
getdefaultPrevented():boolean
true if preventDefault has been called.
Returns
boolean
Constructors
new MapWheelEvent()
new MapWheelEvent(
type:string,map:Map,originalEvent:WheelEvent):MapWheelEvent
Parameters
| Parameter | Type |
|---|---|
type
| string
|
map
| Map
|
originalEvent
| WheelEvent
|
Returns
Overrides
Event.constructor
Methods
preventDefault()
preventDefault():
void
Prevents subsequent default processing of the event by the map.
Calling this method will prevent the behavior of ScrollZoomHandler.
Returns
void
Properties
originalEvent
originalEvent:
WheelEvent
The DOM event which caused the map event.
target
target:
Map
The Map object that fired the event.
type
type:
"wheel"
The event type.
Overrides
Event.type