AnsweredAssumed Answered

JSAPI 4.1: How to load only the visible extent of a feature layer

Question asked by kevinhaeni on Nov 9, 2016
Latest reply on Jan 23, 2017 by kevinhaeni

I'm having a feature layer with lots of polygons (>200'000 points). Usually, when I load it with JSAPI 4.1, it seems to be loading a random subset of the polygons, maybe 5000, but they are usually not in the visible extent. 

 

How can I load only the polygons in the visible extent?

Outcomes