Editing and history
Generated from the same registry as the Chinese reference. Contract version:
0.5-session. Edit the registry and reviewed English catalog, then rerunscript_contract; do not edit this file. See the script guide.
Platform labels below are registry declarations, not device acceptance. Consult the platform coverage guide for actual host coverage and limits. These are the existing gis compatibility-module APIs; the shared sqsmap map facade is documented separately.
gis.history
gis.history.state
Read unified workbench editing-history state.
- Permission:
project.read - Declared platforms: desktop, mobile, web
- Signature:
history.state(): Operation<EditHistoryState>
gis.history.undo
Preview undo; applying checks the history revision.
- Permission:
data.edit - Declared platforms: desktop, mobile
- Signature:
history.undo(): ChangePlan<void>
gis.history.redo
Preview redo; applying checks the history revision.
- Permission:
data.edit - Declared platforms: desktop, mobile
- Signature:
history.redo(): ChangePlan<void>
gis.edit
gis.edit.addField
Preview a data change, then commit atomically after confirmation and synchronize dependent displays.
- Permission:
data.edit - Declared platforms: desktop, mobile
- Signature:
edit.addField(arg0: MapLayerRef, arg1: AddFieldOptions): ChangePlan<EditSummary>
gis.edit.renameField
Preview a data change, then commit atomically after confirmation and synchronize dependent displays.
- Permission:
data.edit - Declared platforms: desktop, mobile
- Signature:
edit.renameField(arg0: MapLayerRef, arg1: string, arg2: string): ChangePlan<EditSummary>
gis.edit.changeFieldType
Preview a data change, then commit atomically after confirmation and synchronize dependent displays.
- Permission:
data.edit - Declared platforms: desktop, mobile
- Signature:
edit.changeFieldType(arg0: MapLayerRef, arg1: string, arg2: string): ChangePlan<EditSummary>
gis.edit.deleteField
Preview a data change, then commit atomically after confirmation and synchronize dependent displays.
- Permission:
data.edit - Declared platforms: desktop, mobile
- Signature:
edit.deleteField(arg0: MapLayerRef, arg1: string): ChangePlan<EditSummary>
gis.edit.setAttribute
Preview a data change, then commit atomically after confirmation and synchronize dependent displays.
- Permission:
data.edit - Declared platforms: desktop, mobile
- Signature:
edit.setAttribute(arg0: FeatureRef, arg1: string, arg2: string): ChangePlan<EditSummary>
gis.edit.setValues
Preview a data change, then commit atomically after confirmation and synchronize dependent displays.
- Permission:
data.edit - Declared platforms: desktop, mobile
- Signature:
edit.setValues(arg0: MapLayerRef, arg1: SetValuesOptions): ChangePlan<EditSummary>
gis.edit.fillMissing
Preview a data change, then commit atomically after confirmation and synchronize dependent displays.
- Permission:
data.edit - Declared platforms: desktop, mobile
- Signature:
edit.fillMissing(arg0: MapLayerRef, arg1: SetValuesOptions): ChangePlan<EditSummary>
gis.edit.trimValues
Preview a data change, then commit atomically after confirmation and synchronize dependent displays.
- Permission:
data.edit - Declared platforms: desktop, mobile
- Signature:
edit.trimValues(arg0: MapLayerRef, arg1: FieldScopeOptions): ChangePlan<EditSummary>
gis.edit.replaceValue
Preview a data change, then commit atomically after confirmation and synchronize dependent displays.
- Permission:
data.edit - Declared platforms: desktop, mobile
- Signature:
edit.replaceValue(arg0: MapLayerRef, arg1: ReplaceValueOptions): ChangePlan<EditSummary>
gis.edit.calculateField
Preview a data change, then commit atomically after confirmation and synchronize dependent displays.
- Permission:
data.edit - Declared platforms: desktop, mobile
- Signature:
edit.calculateField(arg0: MapLayerRef, arg1: FieldCalculatorOptions): ChangePlan<EditSummary>
gis.edit.removeEmptyGeometries
Preview a data change, then commit atomically after confirmation and synchronize dependent displays.
- Permission:
data.edit - Declared platforms: desktop, mobile
- Signature:
edit.removeEmptyGeometries(arg0: MapLayerRef): ChangePlan<EditSummary>
gis.edit.deleteFeatures
Preview a data change, then commit atomically after confirmation and synchronize dependent displays.
- Permission:
data.edit - Declared platforms: desktop, mobile
- Signature:
edit.deleteFeatures(arg0: FeatureSetRef | FeatureRef | FeatureRef[]): ChangePlan<EditSummary>
gis.edit.moveVertex
Preview a geometry change on explicit targets; after confirmation, synchronize shared data and display.
- Permission:
data.edit - Declared platforms: desktop, mobile
- Signature:
edit.moveVertex(arg0: FeatureRef, arg1: VertexMoveOptions): ChangePlan<EditSummary>
gis.edit.insertVertex
Preview a geometry change on explicit targets; after confirmation, synchronize shared data and display.
- Permission:
data.edit - Declared platforms: desktop, mobile
- Signature:
edit.insertVertex(arg0: FeatureRef, arg1: VertexInsertOptions): ChangePlan<EditSummary>
gis.edit.deleteVertex
Preview a geometry change on explicit targets; after confirmation, synchronize shared data and display.
- Permission:
data.edit - Declared platforms: desktop, mobile
- Signature:
edit.deleteVertex(arg0: FeatureRef, arg1: VertexDeleteOptions): ChangePlan<EditSummary>
gis.edit.replaceGeometry
Preview a geometry change on explicit targets; after confirmation, synchronize shared data and display.
- Permission:
data.edit - Declared platforms: desktop, mobile
- Signature:
edit.replaceGeometry(arg0: FeatureRef, arg1: GeoJSON): ChangePlan<EditSummary>
gis.edit.translate
Preview a geometry change on explicit targets; after confirmation, synchronize shared data and display.
- Permission:
data.edit - Declared platforms: desktop, mobile
- Signature:
edit.translate(arg0: FeatureSetRef, arg1: TranslateOptions): ChangePlan<EditSummary>
gis.edit.addFeatures
Preview a geometry change on explicit targets; after confirmation, synchronize shared data and display.
- Permission:
data.edit - Declared platforms: desktop, mobile
- Signature:
edit.addFeatures(arg0: MapLayerRef, arg1: GeoJSON | FeatureSetRef): ChangePlan<EditSummary>
gis.edit.replaceDataset
Preview a geometry change on explicit targets; after confirmation, synchronize shared data and display.
- Permission:
data.edit - Declared platforms: desktop, mobile
- Signature:
edit.replaceDataset(arg0: MapLayerRef, arg1: DatasetRef): ChangePlan<EditSummary>
gis.edit.mergeFeatures
Preview a geometry edit on explicit targets; after confirmation, commit it through unified history.
- Permission:
data.edit - Declared platforms: desktop, mobile
- Signature:
edit.mergeFeatures(arg0: FeatureSetRef, arg1: MergeFeatureOptions): ChangePlan<EditSummary>
gis.edit.fillHoles
Preview a geometry edit on explicit targets; after confirmation, commit it through unified history.
- Permission:
data.edit - Declared platforms: desktop, mobile
- Signature:
edit.fillHoles(arg0: FeatureRef, arg1: FillHoleOptions): ChangePlan<EditSummary>
gis.edit.removeHole
Preview a geometry edit on explicit targets; after confirmation, commit it through unified history.
- Permission:
data.edit - Declared platforms: desktop, mobile
- Signature:
edit.removeHole(arg0: FeatureRef, arg1: RemoveHoleOptions): ChangePlan<EditSummary>
gis.edit.clip
Preview a geometry edit on explicit targets; after confirmation, commit it through unified history.
- Permission:
data.edit - Declared platforms: desktop, mobile
- Signature:
edit.clip(arg0: FeatureSetRef, arg1: FeatureLike): ChangePlan<EditSummary>
gis.edit.erase
Preview a geometry edit on explicit targets; after confirmation, commit it through unified history.
- Permission:
data.edit - Declared platforms: desktop, mobile
- Signature:
edit.erase(arg0: FeatureSetRef, arg1: FeatureLike): ChangePlan<EditSummary>
gis.edit.split
Preview a geometry edit on explicit targets; after confirmation, commit it through unified history.
- Permission:
data.edit - Declared platforms: desktop, mobile
- Signature:
edit.split(arg0: FeatureSetRef, arg1: FeatureRef): ChangePlan<EditSummary>
gis.edit.shrink
Preview a geometry edit on explicit targets; after confirmation, commit it through unified history.
- Permission:
data.edit - Declared platforms: desktop, mobile
- Signature:
edit.shrink(arg0: FeatureRef, arg1: FeatureRef): ChangePlan<EditSummary>
gis.edit.expand
Preview a geometry edit on explicit targets; after confirmation, commit it through unified history.
- Permission:
data.edit - Declared platforms: desktop, mobile
- Signature:
edit.expand(arg0: FeatureRef, arg1: FeatureRef): ChangePlan<EditSummary>
gis.edit.reshape
Preview a geometry edit on explicit targets; after confirmation, commit it through unified history.
- Permission:
data.edit - Declared platforms: desktop, mobile
- Signature:
edit.reshape(arg0: FeatureRef, arg1: ReshapeOptions): ChangePlan<EditSummary>
gis.edit.bufferAdjust
Preview a geometry edit on explicit targets; after confirmation, commit it through unified history.
- Permission:
data.edit - Declared platforms: desktop, mobile
- Signature:
edit.bufferAdjust(arg0: FeatureRef, arg1: BufferAdjustOptions): ChangePlan<EditSummary>
gis.edit.explodeParts
Split multipart polygons into independent features, retaining holes and attributes.
- Permission:
data.edit - Declared platforms: desktop, mobile
- Signature:
edit.explodeParts(arg0: FeatureRef): ChangePlan<EditSummary>