When I load a point layer arcgis server into a feature layer in arcgis js sdk, it does the following request sequence:
When I load a polyline layer from arcgis server into a feature layer in arcgis js sdk, it does the following request sequence:
I am trying to figure out why points feature services do a big count and then paginate with limit/offset and polylines paginate by tile? Can I force the JS sdk to use one or the other?
Solved! Go to Solution.
Hi there,
That is because the API fetches all of point features at once from the server. Once loaded, the features won't need to be re-requested from the server, which will make future redraws after panning and zooming much faster.
This is the release note: https://developers.arcgis.com/javascript/latest/4.19/#performance-improvements
If you need to disable this behavior for some reason then you can read how from this post: https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-4-2x-now-much-slower-to-fe...
Hi there,
That is because the API fetches all of point features at once from the server. Once loaded, the features won't need to be re-requested from the server, which will make future redraws after panning and zooming much faster.
This is the release note: https://developers.arcgis.com/javascript/latest/4.19/#performance-improvements
If you need to disable this behavior for some reason then you can read how from this post: https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-4-2x-now-much-slower-to-fe...