Readonly
idID of the store.
Optional
Readonly
idName of the property used as ID. If not provided, the 'getIdentity' method must be declared.
The layer used by this store.
Use url instead.
The URL of the layer queried by this store. Undefined if this store works on a client side layer.
Retrieves an item by its identifier.
id of an item in the store.
Optional
options: GetOptionsoptions to specify the result.
Optional
getReturns an items‘s identity. This must always execute synchronously.
the item.
the ID
Manually loads required metadata from backend services if needed.
Some methods (such as query) may not be available before metadata have been loaded.
Note: Metadata can also be loaded by calling AsyncStore.getMetadata.
Optional
onRegister event listener for specific events.
name of the event
the event handler callback will be invoked when the event has been emitted
a handle to unregister from the event
Register event listener for any event.
must be "*"
for this overload
the event handler callback will be invoked when any event has been emitted
a handle to unregister from the events
Register event listener for the events listed in eventName
.
Comma separated event names are possible, for example "eventA,eventB"
.
the event name or list of names
the event handler callback
a handle to unregister from the event(s)
Queries the store using the provided query.
Optional
query: ComplexQueryExpressiona query to execute.
Optional
options: QueryOptionsthe query options.
The type of stores created by the AGSStoreFactory.