You can configure a
FeatureLayer with a
QueryProvider on its
LoadingStrategy. For more information, see Dealing with large feature data sets.
FeatureLayer automatically queries for new data when the visible extent of the map changes.
It’s possible that the data that you want to show — and thus the queries you want to use — depend on factors external to the
For example, a user filters the data through the UI.
const dataLayer = new FeatureLayer(model);
//Invalidate the QueryProvider to signal that the query has become stale
If the new query returns new data for existing