ol/interaction/Pointer
Classes
- PointerInteraction
Type Definitions
-
Options{Object}
-
Properties:
Name Type Description handleDownEventfunction | undefined Function handling "down" events. If the function returns
truethen a drag sequence is started.handleDragEventfunction | undefined Function handling "drag" events. This function is called on "move" events during a drag sequence.
handleEventfunction | undefined 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 | undefined Function handling "move" events. This function is called on "move" events. This functions is also called during a drag sequence, so during a drag sequence both the
handleDragEventfunction and this function are called. IfhandleDownEventis defined and it returns true this function will not be called during a drag sequence.handleUpEventfunction | undefined Function handling "up" events. If the function returns
falsethen the current drag sequence is stopped.stopDownfunction | undefined Should the down event be propagated to other interactions, or should be stopped?
© 2005-present, OpenLayers Contributors All rights reserved.Licensed under the BSD 2-Clause License.
https://openlayers.org/en/latest/apidoc/module-ol_interaction_Pointer.html