Customer Service | Training | Contact Us
You are here: Home > User Forums > arcgis server forums > Thread Replies

ArcGIS Server Forums

ArcGIS API for JavaScript forum

Dynamic Layers Not Always Refreshing   Nicholas Nuss Nov 04, 2009
Re: Dynamic Layers Not Always Refreshing   Nicholas Nuss Nov 05, 2009
Report Inappropriate Content • Top • Print • Reply    
Subject Dynamic Layers Not Always Refreshing 
Author Nicholas Nuss 
Date Nov 04, 2009 
Message I am creating an application that uses four dynamic layers that sit on top of a tiled layer using 1.4 (1.5 has the same issue). When I pan in the Map object, every once in a while one of the layers is not displayed at the end of the pan and another pan is required to bring it back. When it occurs is totally random, and it could be any of the four dynamic services. I even have one dynamic service that has lines and words, and sometimes the lines will show up but not the words. I looked at the request to the server using firebug, and the images are coming back, but it seems that there is some bug in the Map object that is causing the map not to display the layer. Has anyone seen this, or is this a known bug?

Thanks 
   
Report Inappropriate Content • Top • Print • Reply    
Subject Re: Dynamic Layers Not Always Refreshing 
Author Nicholas Nuss 
Date Nov 05, 2009 
Message I was able to fix this issue by making sure that my dynamic layers were in the same projection as the tiled layer. This shouldn't be an issue, as dynamic layers are supposed to be dynamic and reproject accordingly. I think this is a bug that someone needs to look at. It was easy to create. Simply use ESRI's tiled map service as the first layer and add dynamic layers in a different projection on top of the tiled map service. If you pan around enough, eventually some of the dynamic layer images will not show on the map even though the server returned them.