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?