allowVertexCreation property
True to allow a vertex to be created interactively, false otherwise. Default is true.
If true, the GeometryEditorStyle.feedbackVertexSymbol will be displayed at the crosshairs of the reticle. Tapping on the map view (at any position) will add a vertex at the position indicated by this symbol. The vertex is added at an index position in the geometry after the previously selected vertex. An exception to this rule is that if the previous selection was the first vertex in a Polyline, then the new vertex is inserted before the previous selection and becomes the first vertex of the polyline.
If you position the reticle over an existing GeometryEditorElement and tap, then this begins a move instead - see ReticleInteractionConfiguration.allowMovingSelectedElement.
Whether true or false, a vertex can be created by GeometryEditor.insertVertex.
Implementation
bool get allowVertexCreation {
return _withThrowingErrorHandler((errorHandler) {
return runtimecore
.RT_ReticleInteractionConfiguration_getAllowVertexCreation(
_handle,
errorHandler,
);
});
}
Implementation
set allowVertexCreation(bool value) {
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_ReticleInteractionConfiguration_setAllowVertexCreation(
_handle,
value,
errorHandler,
);
});
}