Select to view content in your preferred language

Firefox keeps loading - esri sample

1081
4
Jump to solution
01-21-2013 03:11 AM
DavideLimosani
Frequent Contributor
Hi all,

the first time I load this sample in firefox (http://help.arcgis.com/en/webapi/javascript/arcgis/samples/map_terraindemographic/index.html) the loading icon does not disappear. If I refresh the page the problem seems solved, but if you clear the cache ( ctrl + F5) the problem is still there. Do you have the same behavior? I think it is due to the operationalLayer...

Davide
0 Kudos
1 Solution

Accepted Solutions
KellyHutchins
Esri Notable Contributor
0 Kudos
4 Replies
KellyHutchins
Esri Notable Contributor
Looks like this is due to a bug with Firefox 17:

https://bugzilla.mozilla.org/show_bug.cgi?id=826881
0 Kudos
AaronPerry
Occasional Contributor
Apologies if I should not reply to this older thread, but I am also experiencing this in firefox 19.0.2 with the 3.3 api and thought it was worth mentioning since I ended up here and others may get here when having the same problem.

In my code it seems to be related to calling map.addLayer with a ArcGISDynamicMapServiceLayer.  If I comment out the addLayer calls for all the ArcGISDynamicMapServiceLayers the page will complete loading with ctrl+f5 and on the initial load.  I'm also adding some graphics layers and their map.addLayer does not cause the problem.  Only the ArcGISDynamicMapServiceLayer layers are causing this to show up for me.  The actual content of the ArcGISDynamicMapServiceLayer loads and the map is fully functional.  Firefox just seems to think the page is still loading.

Example of my code adding the dynamic layer:

// add the counties layer
countiesLayer = new esri.layers.ArcGISDynamicMapServiceLayer("http://asdf/ArcGIS/rest/services/Counties/MapServer", {
    id: "countiesLayer"
});
map.addLayer(countiesLayer);
0 Kudos
YvanBérard
Regular Contributor
Apologies if I should not reply to this older thread, but I am also experiencing this in firefox 19.0.2 with the 3.3 api and thought it was worth mentioning since I ended up here and others may get here when having the same problem.

In my code it seems to be related to calling map.addLayer with a ArcGISDynamicMapServiceLayer.  If I comment out the addLayer calls for all the ArcGISDynamicMapServiceLayers the page will complete loading with ctrl+f5 and on the initial load.  I'm also adding some graphics layers and their map.addLayer does not cause the problem.  Only the ArcGISDynamicMapServiceLayer layers are causing this to show up for me.  The actual content of the ArcGISDynamicMapServiceLayer loads and the map is fully functional.  Firefox just seems to think the page is still loading.

Example of my code adding the dynamic layer:

// add the counties layer
countiesLayer = new esri.layers.ArcGISDynamicMapServiceLayer("http://asdf/ArcGIS/rest/services/Counties/MapServer", {
    id: "countiesLayer"
});
map.addLayer(countiesLayer);


I'm experiencing the exact same thing with my ArcGISDynamicMapServiceLayer. The only way I found to correct it, it's by the "hardcore-way" with window.stop(); but this is not always solving my problem because window.stop() affect some of my functionnality of my webmap.
0 Kudos
DarinaTchountcheva
Frequent Contributor
Hi guys,

I would like to confirm that I am also experiencing the spinning circle problem - with Firefox 17 and now Firefox 20.0.1.

😞
0 Kudos