I upgraded my js SDK from 3.13 to 4.28 and struggle with refreshing the ImageryTileLayer as base map layer when programmatically changing the zoom and center of the map.
Before the update I could just call the centerAndZoom method, since then I am directly setting the zoom and center property of my view. This updates the view but not the map layer, at least not correctly.
If zoomed close the map is just blurry and if zoomed far out the map just loads a few tiles. But when I drag it manually it immediately refreshes correctly. Also the refreshInterval is working as expected, sadly it is too slow for my needs.
The layer refresh method and cloning and reapplying the layer didn't help.
I'd appreciate any help.
Solved! Go to Solution.