import SplitFeatureWorkflowData from "@arcgis/core/widgets/Editor/SplitFeatureWorkflowData.js";
const SplitFeatureWorkflowData = await $arcgis.import("@arcgis/core/widgets/Editor/SplitFeatureWorkflowData.js");
@arcgis/core/widgets/Editor/SplitFeatureWorkflowData
Property Overview
Name | Type | Summary | Object |
---|---|---|---|
The | SplitFeatureWorkflowData | ||
Information about the feature to be updated as a result of the split operation. | SplitFeatureWorkflowData | ||
The feature to be split. | SplitFeatureWorkflowData | ||
Information about the feature to be created as a result of the split operation. | SplitFeatureWorkflowData | ||
The geometry to be used to split the geometry of | SplitFeatureWorkflowData | ||
The associated EditorViewModel for this workflow. | SplitFeatureWorkflowData |
Property Details
-
editorItem
editorItem EditorItem
-
The
EditorItem
object fromEditorViewModel
corresponding to the layer being updated.
-
Information about the feature to be updated as a result of the split operation.
A split workflow results in two edits: the existing feature is updated to have one of the geometries resulting from the split, and a new feature is created with the other geometry. This property references the feature that will be updated.
- See also
-
feature
feature Graphic
-
The feature to be split.
This feature's attributes object must contain all fields for which values are set on the feature, and its geometry must be full resolution. If the Graphic was obtained from a layer view query, it is likely that the geometry is not full resolution and that the attributes do not contain all fields.
-
Information about the feature to be created as a result of the split operation.
- See also
-
The geometry to be used to split the geometry of
originalFeature
.
-
viewModel
viewModel EditorViewModel
-
The associated EditorViewModel for this workflow.