allowPartCreation

True if you can interactively create a new part in a polyline or polygon, false otherwise. Default is true. If true and the com.arcgismaps.geometry.GeometryType of the GeometryEditor.geometry is a polygon or polyline, you can you can add new parts to the com.arcgismaps.geometry.Multipart geometry - the GeometryEditor.tool determines the interaction required to add the new part. If the com.arcgismaps.geometry.GeometryType of the GeometryEditor.geometry is a point or multipoint, this property is ignored. For new geometry creation (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 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.

InteractionConfiguration.setAllowCreation sets this property.

Since

200.1.0

See also