replace Geometry
Replaces the current GeometryEditor.geometry with the specified geometry. Use this method to make changes to the GeometryEditor.geometry that are not directly supported using other GeometryEditor methods. For example, to start a new part in a Polygon or Polyline geometry, get the current GeometryEditor.geometry, use a MultipartBuilder to add the required part, and then pass the updated GeometryBuilder.toGeometry() to this method.
Since
200.1.0
Throws
if the geometry type of the new geometry is different to the existing one. Geometries with true curves are not supported
if the geometry editor is not started