ol/events/SnapEvent.SnapEvent
Events emitted by Snap instances are instances of this
Extends
Members
-
The feature closest to the snapped point.
-
segment{Array<Coordinate>} {null}
-
The segment closest to the snapped point, if snapped to a segment.
-
target{Object}
-
The event target.
-
type{string}
-
The event type.
-
vertex{Coordinate}
-
The Map coordinate of the snapped point.
-
vertexPixel{Array.<number>} {Array.<number>}
-
The Map pixel of the snapped point.
Methods
-
preventDefault() inherited
-
Prevent default. This means that no emulated
click,singleclickordoubleclickevents will be fired. -
stopPropagation() inherited
-
Stop event propagation.
Events
© 2005-present, OpenLayers Contributors All rights reserved.Licensed under the BSD 2-Clause License.
https://openlayers.org/en/latest/apidoc/module-ol_events_SnapEvent.SnapEvent.html