map.apps Bundle APIs 4.20.0
    Preparing search index...

    Interface Editing

    Used to open the editing widget.

    interface Editing {
        closeEditingWidget(): void;
        openEditingWidget(): void;
        startEditFeature(
            feature: Graphic,
            featureLayer: FeatureLayer,
        ): Promise<void>;
    }
    Index

    Methods

    • Closes the editing widget.

      Returns void

    • Create the Editor widget and register it as a service.

      Returns void

    • Starts an update workflow in the Editor widget for the given feature.

      Parameters

      • feature: Graphic
      • featureLayer: FeatureLayer

      Returns Promise<void>