allowMidVertexSelection

True if a mid-vertex of a polygon or polyline can be interactively selected, false otherwise. Default is true. By default, mid-vertices (GeometryEditorMidVertex) are displayed and can be helpful in interactive workflows to provide a visual cue that new vertices can be inserted between the existing vertices of polygons and polylines. They may be most helpful for users with less editing experience.

If true, and InteractionConfiguration.allowVertexCreation is also true, then you can select and drag a mid-vertex to insert a vertex into the GeometryEditor.geometry and immediately move it to the required position.

If false, and you also do not intend to programmatically select any mid-vertices (GeometryEditor.selectMidVertex) then set GeometryEditorStyle.midVertexSymbol to null to prevent the display of unusable mid-vertices.

Whether true or false, a mid-vertex can be selected by GeometryEditor.selectMidVertex.

InteractionConfiguration.setAllowSelection sets this property.

Since

200.1.0

See also

GeometryEditor.selectedElementChanged