[OpenLayers-Users] Loading Panel not always going away

Linda Rawson linda.rawson at gmail.com
Thu Aug 14 15:59:57 EDT 2008


I am using 2.6 and I have verified that this code is in image.js.

Linda

On Thu, Aug 14, 2008 at 1:48 PM, Bart van den Eijnden (OSGIS) <
bartvde at osgis.nl> wrote:

> 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
>
>


-- 
Linda Rawson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20080814/b42ebb8c/attachment.html


More information about the Users mailing list