3

Summary of Issue:

In my project, using the oceans basemap from Esri is very slow to render when zoomed in very close (for Chrome only). Topo is also slow at high zoom levels, but it is bearable in comparison to oceans.

Using Chromes developer tools to look at the Network timing for the tiles reveals some are waiting 400+ ms, but this is also the case for topo so that's not too helpful.

Profiling using the Timeline tool shows that painting takes considerably longer with the oceans basemap.

You can try it yourself quickly in the sandbox by replacing "topo" with "oceans": http://developers.arcgis.com/javascript/sandbox/sandbox.html?sample=map_simple

Question:

Is there anything on my end that I can do to optimize this in Chrome?

4
  • Looks like a slow tile server from ESRI - the wait response from their server is high for each map tile request this lags the application/
    – Mapperz
    Aug 14, 2014 at 14:13
  • i'm seeing much faster speed than that today. are you still experiencing this issue? Aug 28, 2014 at 18:12
  • @JohnGravois Yes, this is has been persistent since I initially posted this question.
    – hedz09
    Aug 28, 2014 at 18:14
  • hmm. consistent on other computers/networks? Aug 28, 2014 at 18:39

2 Answers 2

3

Try what this example says. I was facing the same problem with chrome. Set navigationMode to css-transforms and force3DTransforms to true.

https://developers.arcgis.com/javascript/jssamples/mapconfig_force_css3.html

I had also tweaked this:

esriConfig.defaults.map.panDuration = 1; // time in milliseconds, default panDuration: 250

esriConfig.defaults.map.panRate = 1; // default panRate: 25
esriConfig.defaults.map.zoomDuration = 100; // default zoomDuration: 500
esriConfig.defaults.map.zoomRate = 1; // default zoomRate: 25
1
  • 1
    This improved rendering speed dramatically!
    – hedz09
    Jan 8, 2015 at 18:14
0

Try adding navigationMode: 'classic' to your map options. The API documentation for the option is here. I have not experienced this myself but others have reported it as a successful fix for slow basemaps and "flashing" tiles in Chrome.

1
  • Thanks for the suggestion, @tmcgee. I didn't have any luck on my end either, however.
    – hedz09
    Oct 7, 2014 at 11:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.