Class FeatureStoreLayerChanges

do not construct directly, use the layers .changeTracker instead

Hierarchy

Accessors

  • get className(): string
  • Returns string

Constructors

Methods

  • commits the changes to the provided url. url should contain accessTokens and point to a featureStore layers bulk operation endpoint

    Parameters

    • postCallback: ((body) => Promise<{
          failedActions: {
              error: string;
              index: number;
          }[];
          insertedIds: {
              _id: string;
          }[];
      }>)
        • (body): Promise<{
              failedActions: {
                  error: string;
                  index: number;
              }[];
              insertedIds: {
                  _id: string;
              }[];
          }>
        • Parameters

          • body: Pick<CommitAction, "action" | "feature">[]

          Returns Promise<{
              failedActions: {
                  error: string;
                  index: number;
              }[];
              insertedIds: {
                  _id: string;
              }[];
          }>

    Returns Promise<void>

Properties

[moduleIdSymbol]?: string
_addedFeatures: Set<Feature<Geometry>> = ...
_changesListeners: FeatureStoreChangesListeners = ...
_convertedFeatures: Set<Feature<Geometry>> = ...
_editedFeatures: Set<Feature<Geometry>> = ...
_layer: undefined | FeatureStoreLayer
_removedFeatures: Set<Feature<Geometry>> = ...
changed: VcsEvent<void> = ...
isDestroyed: boolean
name: string

unique Name

properties: Record<string, unknown>

Generated using TypeDoc