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
-
Prevent default. This means that no emulated
click
,singleclick
ordoubleclick
events will be fired. -
Stop event propagation.
Events
-
Generic change event. Triggered when the revision counter is increased.
-
Generic error event. Triggered when an error occurs.
-
Triggered upon snapping to vertex or edge