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.
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.
Generated using TypeDoc
Factory used to created new store instances.
Use service name
"agssearch.AGSStoreFactory"
to inject an instance of this factory.