allowPartCreation

True if you can interactively create a new part in a polyline or polygon, false otherwise. Default is false. If true and the com.arcgismaps.geometry.GeometryType of the GeometryEditor.geometry is a polygon or polyline, you can interactively add new parts to the com.arcgismaps.geometry.Multipart geometry if there is no currently selected element. If the com.arcgismaps.geometry.GeometryType of the GeometryEditor.geometry is a point or multipoint, this property is ignored. The ReticleVertexTool does not support selection cycling to clear the selection in the same way as the VertexTool, so to allow you to start a new part interactively without first switching tools, first call GeometryEditor.clearSelection. When GeometryEditor.selectedElement is null you can position the reticle as required and tap to add the first vertex of the new part at that position - feedback symbols will show where the new vertex will be added.

When creating new geometries using GeometryEditor.start, or calling GeometryEditor.start with an empty geometry, this property is always ignored when adding the first part, and respected thereafter.

Users less experienced with GIS data may not understand how to visually separate parts of polygons and polylines form a single geometry. You may wish to prevent such users from inadvertently creating geometries with multiple parts in order to keep their workflows straightforward and understandable. Alternatively, your app may be editing data which does not support multipart geometries.

Since

200.5.0

See also