AnsweredAssumed Answered

Is there any way to get all features using layerview.queryFeatures

Question asked by Jefairfi on May 29, 2019
Latest reply on Jun 18, 2019 by rscheitlin

When running queryFeatures on a FeatureLayerView, only the features that are currently in the extent are returned.  Is there any way to query for all graphics that have been drawn / downloaded from the server? I would like to be able to get statistics on a large area even if the user is zoomed in and only looking at a few features.  I don't want to make any more server / rest endpoint requests, this becomes too slow.

 

Here is a jsbin that logs the number of features to demonstrate what I am talking about.

https://output.jsbin.com/jojonuhehi

 

Thanks.

Outcomes