AnsweredAssumed Answered

Changing map rotation on feature-heavy map

Question asked by r.koenigmysynergis-esridist Employee on Feb 6, 2019

We are experiencing some choppiness when rotating a MapView with a few layers, in our case 8 FeatureLayer objects - some of which hold many features - above a single VectorTileLayer.

 

When changing the mapview rotation a lot of requests are sent continuosly for each of the layer endpoints. These are FeatureServer/query and VectorTileServer/tile requests. Some of the requests get cancelled (see chrome dev-tools), alot of them are sent and received. The response is also always the same. 

 

So my questions are:

Why are all these requests sent as they are all the same and do not have any rotation parameter in them?

And is there a way to prevent sending these requests, e.g. until the final rotation is reached?

Has anyone else seen these problems and found a workaround? 

 

One more thing i have to mention is, that we don't use right mouse events to rotate the map but a slider control which executes MapView.set("rotation") calls. But that doesn't make any difference in behavior.

 

I can't post a sample as our feature layers are private data, the vector tile layer is https://basemaps.arcgis.com/arcgis/rest/services/OpenStreetMap_v2/VectorTileServer

Outcomes