Extends
- ol.MapEvent
- oli.MapBrowserEvent
Members
-
coordinate{ol.Coordinate}
-
-
dragging{boolean}
-
Indicates if the map is currently being dragged. Only set for
POINTERDRAG
andPOINTERMOVE
events. Default isfalse
. -
frameState{olx.FrameState} experimental
-
The frame state at the time of the event.
-
map{ol.Map}
-
The map where the event occurred.
-
originalEvent{Event}
-
-
pixel{ol.Pixel}
-
Methods
-
preventDefault()
src/ol/mapbrowserevent.js, line 85 -
Prevents the default browser action.
-
stopPropagation()
src/ol/mapbrowserevent.js, line 97 -
Prevents further propagation of the current event.
Events
-
click experimental
src/ol/mapbrowserevent.js, line 495 -
A click with no dragging. A double click will fire two of this.
-
dblclick experimental
src/ol/mapbrowserevent.js, line 501 -
A true double click, with no dragging.
-
moveend inherited experimental
src/ol/mapevent.js, line 17 -
Triggered after the map is moved.
-
pointerdrag experimental
src/ol/mapbrowserevent.js, line 507 -
Triggered when a pointer is dragged.
-
pointermove experimental
src/ol/mapbrowserevent.js, line 515 -
Triggered when a pointer is moved. Note that on touch devices this is triggered when the map is panned, so is not the same as mousemove.
-
postrender inherited experimental
src/ol/mapevent.js, line 11 -
Triggered after a map frame is rendered.
-
singleclick experimental
src/ol/mapbrowserevent.js, line 488 -
A true single click with no dragging and no double click. Note that this event is delayed by 250 ms to ensure that it is not a double click.