Geometry Editor Mid Vertex
A mid-vertex element in a GeometryEditor. Mid-vertices do not exist in the GeometryEditor.geometry, but instead exist only in the display. They are displayed between vertices in polygon and polyline geometries and are used in interactive workflows as a visual cue to indicate new vertices can be inserted between existing vertices. They may be most helpful for users with less editing experience. Tap on a mid-vertex to select it, and drag to change the mid-vertex into a vertex (GeometryEditorVertex) in the GeometryEditor.geometry and move it to the required location.
When a mid-vertex is selected (displayed with a selection halo), a GeometryEditorMidVertex is returned from GeometryEditor.selectedElement. Select a mid-vertex programmatically using GeometryEditor.selectMidVertex(Int, Int).
Use GeometryEditorStyle.midVertexSymbol and GeometryEditorStyle.selectedMidVertexSymbol to change the appearance of the mid-vertex when unselected and selected, or set to null to prevent mid-vertices from being displayed entirely. If mid-vertices are not displayed, you can still insert vertices between existing vertices by selecting an existing GeometryEditorVertex and tapping on the map at the location to insert the new vertex.
To prevent mid-vertices from being selected interactively while still allowing programmatic selection, set InteractionConfiguration.allowMidVertexSelection to false. If InteractionConfiguration.allowVertexCreation is false then new vertices cannot be inserted into the geometry, including by the use of mid-vertices.
Since
200.1.0
See also
Properties
The index position of the part within the part collection of a multipart geometry that contains this GeometryEditorMidVertex.
The location of the point represented by this GeometryEditorMidVertex in the SpatialReference of the associated MapView.
The index position of the segment on which the selected mid-vertex lies.
Inherited properties
True if this element can be deleted interactively, false otherwise. The value of InteractionConfiguration.allowDeletingSelectedElement of the current GeometryEditor.tool determines this value. The element can be deleted programmatically regardless of this value, for example using GeometryEditor.deleteSelectedElement().
True if this element can be moved interactively, false otherwise. The value of InteractionConfiguration.allowMovingSelectedElement of the current GeometryEditor.tool determines this value. The element can be moved programmatically regardless of this value, for example using GeometryEditor.moveSelectedElement(Point).
True if this element can be rotated interactively, false otherwise. The value of InteractionConfiguration.allowRotatingSelectedElement of the current GeometryEditor.tool determines this value. The element can be rotated programmatically regardless of this value, for example using GeometryEditor.rotateSelectedElement(Double, Point).
True if this element can be scaled interactively, false otherwise. The value of InteractionConfiguration.allowScalingSelectedElement of the current GeometryEditor.tool determines this value. The element can be scaled programmatically regardless of this value, for example using GeometryEditor.scaleSelectedElement(Double, Double, Point).
The extent of the selected element in the SpatialReference of the associated MapView. To find the specific shape of the selected element instead of its extent, use GeometryEditorGeometry.geometry, GeometryEditorMidVertex.point, GeometryEditorPart.part, or GeometryEditorVertex.point.