Classes
Methods
-
module:ol/interaction/Pointer~handleEvent(mapBrowserEvent){boolean}
interaction/Pointer.js, line 209 -
Handles the
map browser eventand may call into other functions, if event sequences like e.g. 'drag' or 'down-up' etc. are detected.This:
Name Type Description mapBrowserEventmodule:ol/MapBrowserEvent~MapBrowserEvent Map browser event.
Returns:
falseto stop event propagation.
Type Definitions
-
Options{Object}
-
Properties:
Name Type Argument Description handleDownEventfunction <optional>
Function handling "down" events. If the function returns
truethen a drag sequence is started.handleDragEventfunction <optional>
Function handling "drag" events. This function is called on "move" events during a drag sequence.
handleEventfunction <optional>
Method called by the map to notify the interaction that a browser event was dispatched to the map. The function may return
falseto prevent the propagation of the event to other interactions in the map's interactions chain.handleMoveEventfunction <optional>
Function handling "move" events. This function is called on "move" events, also during a drag sequence (so during a drag sequence both the
handleDragEventfunction and this function are called).handleUpEventfunction <optional>
Function handling "up" events. If the function returns
falsethen the current drag sequence is stopped.stopDownfunction Should the down event be propagated to other interactions, or should be stopped?
OpenLayers