Go to the source code of this file.
◆ AGSFeatureRequestMode
The feature request mode for a service feature table. It determines, (1) whether features are cached locally (for quicker access by map and scene layers) and (2) whether queries are performed on the local cache or on the server.
- Since
- 100.0
Enumerator |
---|
AGSFeatureRequestModeUndefined | Indicates the feature table has not been loaded and the mode has yet to be set.
|
AGSFeatureRequestModeOnInteractionCache | The features are requested from the server as they are needed, in response to user or developer interaction with the layer (pan, zoom). Features are cached in the local table for the duration of the session. Queries are executed on the local cache or (if requested features are not resident in the cache) on the server. This mode is the default.
|
AGSFeatureRequestModeOnInteractionNoCache | The features are always requested from the server and are never cached. This mode ensures that you are working against the latest data, but it has a high network bandwidth since it goes to the server for all interactions (pans, zooms, selects, or queries).
|
AGSFeatureRequestModeManualCache | The features are requested from the server by an explicit call to AGSServiceFeatureTable::populateFromServiceWithParameters:clearCache:outfields:completion: , which populates the local cache. Queries performed on the table will be executed locally.
|