Interface AGSStoreFactory

Factory used to created new store instances.

Use service name "agssearch.AGSStoreFactory" to inject an instance of this factory.

Hierarchy

  • AGSStoreFactory

Methods

Methods

  • Creates a new store instance backed by an ArcGIS Feature Server or Map Server. Either the layerId parameter or the url parameter must be specified.

    Returns Promise<AGSStore>

    Example

    const store = await this._storeFactory.createStore({
    id: "my-new-store",
    layerId: "a-valid-layer-id"
    // or url: "https://example.com/some/FeatureServer"
    });

Generated using TypeDoc