[OpenLayers-Users] Loading Panel not always going away

Bart van den Eijnden (OSGIS) bartvde at osgis.nl
Thu Aug 14 15:48:32 EDT 2008


Hi Linda,

are you using 2.6?

The following should have made sure this works correctly:

http://trac.openlayers.org/ticket/842

Best regards,
Bart

Linda_Rawson wrote:
> 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 :-)
>>
>>
>>
>>     
>
>   


-- 
Bart van den Eijnden
OSGIS, Open Source GIS
bartvde at osgis.nl
http://www.osgis.nl




More information about the Users mailing list