[OpenLayers-Trac] [OpenLayers] #1574: Lots of spurious tiles get loaded when changing base layer to one with a new projection

OpenLayers trac at openlayers.org
Fri Jun 6 06:09:57 EDT 2008


#1574: Lots of spurious tiles get loaded when changing base layer to one with a
new projection
-------------------------+--------------------------------------------------
 Reporter:  jonblower    |       Owner:             
     Type:  bug          |      Status:  new        
 Priority:  minor        |   Milestone:  2.7 Release
Component:  Map          |     Version:  2.6        
 Keywords:  projections  |       State:             
-------------------------+--------------------------------------------------
 I have an OL2.6 application that uses base layers in different map
 projections.  The map is initially constructed with a base layer in lat-
 lon (EPSG:4326).  If I change the base layer to a layer in polar
 stereographic projection (EPSG:32661) the map loads a whole load (up to
 40) of spurious tiles.  This effect can be seen by loading the attached
 example web page and using Firebug (or similar) to examine the outgoing
 GetMap requests.  The spurious tiles have a bounding box that is
 inappropriate for the current zoom level and map extent (this shows up
 clearly because the extents for 4326 and 32661 are very different in their
 native units).

 The problem appears using Firefox 2 on Windows XP.  It is likely that the
 problem also occurs on other systems but I have not tested this.

 Registering an event listener for changebaselayer does not help: it seems
 that the spurious tiles are loaded anyway.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/1574>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list