allowVertexCreation property
True to allow a vertex to be created interactively, false otherwise. Default is true.
If true, you can tap on the map to add a new vertex. The vertex is inserted after the previously selected vertex, or as the first vertex if the previous selection was the first vertex in a Polyline. If you tap on an existing GeometryEditorElement then selection occurs instead.
A FreehandTool ignores this property as it does not create individual vertices; instead you use a freehand gesture to create a part in a polygon or polyline geometry.
Whether true or false, a vertex can be created by GeometryEditor.insertVertex.
InteractionConfiguration.setAllowCreation sets this property.
Implementation
bool get allowVertexCreation {
return _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_InteractionConfiguration_getAllowVertexCreation(
_handle,
errorHandler,
);
});
}
Implementation
set allowVertexCreation(bool value) {
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_InteractionConfiguration_setAllowVertexCreation(
_handle,
value,
errorHandler,
);
});
}