[OpenLayers-Dev] singleTile and multiple map resizes

Bart van den Eijnden (OSGIS) bartvde at osgis.nl
Wed Mar 5 09:39:22 EST 2008


Hi Andreas,

ticket with patch is:

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

Thanks.

Best regards,
Bart

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


--------- Oorspronkelijk bericht --------
Van: Andreas Hocevar <andreas.hocevar at gmail.com>
Naar: Bart van den Eijnden OSGIS <bartvde at osgis.nl>
Cc: dev at openlayers.org
Onderwerp: Re: [OpenLayers-Dev] singleTile and multiple map resizes
Datum: 05/03/08 12:36

> Hi,
> 
> Bart van den Eijnden (OSGIS) wrote:
> &gt; If I leave out the clearGrid call all is fine. I don't really get why
the
> &gt; clearGrid is needed there, I don't notice any weird side effects if I
leave
> &gt; it out.
> &gt;
> &gt; This was introduced in ticket 886, Andreas, are you able to explain
why this
> &gt; call was needed?
> &gt;   
> 
> The whole onMapResize function was needed to ensure that a singleTile 
> layer still works after resizing the map.
> 
> &gt; In 1207 the call to initSingleTile was removed since it caused the
layers to
> &gt; be drawn twice, so I am wondering if clearGrid is really necessary
here.
> &gt;   
> 
> Back then both initSingleTile and clearGrid were necessary. I just tried 
> to remove it and I can confirm that both are obsolete now.
> 
> Bart, please be so kind and create a ticket for that, if you care also a 
> patch, and I will take care of the rest.
> 
> Regards,
> Andreas.
> 
> 






More information about the Dev mailing list