[OpenLayers-Users] Loading Panel not always going away

Linda_Rawson linda.rawson at gmail.com
Thu Aug 14 15:09:01 EDT 2008


I am again facing issues with the loading panel not going away.  It seems
when the tiles in question are an error, 404 not found or something like
that, the count is not getting decremented so that the loadend event fires.

Where did you call this from?


realjax wrote:
> 
> map.layers[0].events.triggerEvent("loadend");
> 

Thanks,
Linda Rawson


realjax wrote:
> 
> 
> 
> Linda_Rawson wrote:
>> 
>> Sometimes it does not go away after all layers are loaded.  What can I
>> do?
>> 
> 
> The loading control is a cool one. ( thanks Bart!).
> I had some issues as well with events not being fired on some layers
> (layer.Markers for instance).
> So I did it manually:
> 
> map.layers[0].events.triggerEvent("loadend");
> 
> Works like a charm :-)
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Loading-Panel-not-always-going-away-tp18241861p18987816.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list