Factory used to created new store instances.
Use service name "agssearch.AGSStoreFactory" to inject an instance of this factory.
"agssearch.AGSStoreFactory"
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.
layerId
url
const store = await this._storeFactory.createStore({ id: "my-new-store", layerId: "a-valid-layer-id" // or url: "https://example.com/some/FeatureServer"});await store.load(); // Need to load metadata before store can be used. Copy
const store = await this._storeFactory.createStore({ id: "my-new-store", layerId: "a-valid-layer-id" // or url: "https://example.com/some/FeatureServer"});await store.load(); // Need to load metadata before store can be used.
Factory used to created new store instances.
Use service name
"agssearch.AGSStoreFactory"
to inject an instance of this factory.