moveSelectedElement method
- ArcGISPoint newPoint
Moves the selected element to the specified location.
If GeometryEditor.selectedElement is a GeometryEditorVertex, then the location of the vertex is moved to the given point. If the GeometryEditor.selectedElement is any other type of GeometryEditorElement, then the center of the element is moved to the given point.
If newPoint is z-aware (Geometry.hasZ = true) and GeometryEditor.geometry is not currently z-aware, this will change the GeometryEditor.geometry to be z-aware, if it is not already.
If GeometryEditor.selectedElement is z-aware and newPoint is not z-aware, then the current z-value(s) of GeometryEditor.selectedElement will remain unchanged.
Parameters:
newPoint
— The new location for the selected element.