insert Vertex
Creates a new vertex at the specified location and inserts it after the currently selected element, or appends the point if there is nothing selected. If GeometryEditor.geometry is empty (com.arcgismaps.geometry.Geometry.isEmpty is true), the given point is added as the initial vertex, and then selected. If nothing is selected (GeometryEditor.selectedElement is null), the point is appended to the end of the GeometryEditor.geometry, and then selected. If GeometryEditor.selectedElement is the first vertex in a part of a com.arcgismaps.geometry.Multipart, the given point is inserted before the currently selected vertex, and then selected.
If GeometryEditor.geometry is a non-empty com.arcgismaps.geometry.Point, this method replaces the existing point with the given point and selects it.
Since
200.1.0
Parameters
The location of the new vertex.
See also
Throws
if the given point is empty
if the geometry editor is not started