[OpenLayers-Dev] singleTile and multiple map resizes

Andreas Hocevar andreas.hocevar at gmail.com
Wed Mar 5 09:38:31 EST 2008


Bart,

no need to take further action, I saw the ticket and am uploading a 
patch right now.

Thanks for spotting this!

Regards,
Andreas.

Bart van den Eijnden (OSGIS) wrote:
> If I leave out the clearGrid call all is fine. I don't really get why the
> clearGrid is needed there, I don't notice any weird side effects if I leave
> it out.
>
> This was introduced in ticket 886, Andreas, are you able to explain why this
> call was needed?
>
> In 1207 the call to initSingleTile was removed since it caused the layers to
> be drawn twice, so I am wondering if clearGrid is really necessary here.
>
> Best regards,
> Bart
>
> --
> Bart van den Eijnden
> OSGIS, Open Source GIS
> http://www.osgis.nl
>
>
> --------- Oorspronkelijk bericht --------
> Van: Bart van den Eijnden OSGIS <bartvde at osgis.nl>
> Naar: dev at openlayers.org <dev at openlayers.org>
> Onderwerp: [OpenLayers-Dev] singleTile and multiple map resizes
> Datum: 05/03/08 11:25
>
>   
>> Hi list,
>>
>> I've noticed the problem of a hanging LoadingPanel when the user tries to
>> resize the map quickly after a previous resize (so when the tiles have not
>> yet loaded).
>>
>> So something is wrong with the loadstart/loadend event handling, as far as
>>     
> I
>   
>> can tell since the removeTileMonitoringHooks is called maybe after
>>     
> loadstart
>   
>> has been fired, and loadend will never come anymore for this tile. But
>>     
> this
>   
>> is my guess currently. If I have an empty onMapResize function in Grid.js
>> this problem does not occur.
>>
>> Is anybody able to reproduce this behaviour or has ideas on how to fix
>>     
> this?
>   
>> I am using trunk.
>>
>> Best regards,
>> Bart
>>
>> --
>> Bart van den Eijnden
>> OSGIS, Open Source GIS
>> http://www.osgis.nl
>>
>>
>>
>>
>>
>> _______________________________________________
>> Dev mailing list
>> Dev at openlayers.org
>> http://openlayers.org/mailman/listinfo/dev
>>
>>
>>     
>
>
>
> _______________________________________________
> Dev mailing list
> Dev at openlayers.org
> http://openlayers.org/mailman/listinfo/dev
>   




More information about the Dev mailing list