When creating an instance of FeatureLayer, you need to specify a mode for retrieving features. Because the mode determines when and how features are brought from the server to the client, your choice can affect the behavior and performance of your application.
You can choose from the following modes:
-
- Snapshot mode: MODE_SNAPSHOT
- On-demand mode: MODE_ONDEMAND
- Selection mode: MODE_SELECTION
- Auto mode: MODE_AUTO