[OpenLayers-Trac] [OpenLayers] #3148: SingleTile & Base Layer (WMS?) Bug

OpenLayers trac-20090302 at openlayers.org
Thu Mar 3 11:08:01 EST 2011


#3148: SingleTile & Base Layer (WMS?) Bug
----------------------+-----------------------------------------------------
 Reporter:  javivivi  |       Owner:              
     Type:  bug       |      Status:  new         
 Priority:  minor     |   Milestone:  2.11 Release
Component:  general   |     Version:  2.10        
 Keywords:            |       State:              
----------------------+-----------------------------------------------------
 You can see it in this example page:
 http://openlayers.org/dev/examples/single-tile.html

 Follow this steps:[[BR]]
 1.Maximize Layer Switcher. You'll see Single Tile layer[[BR]]
 2.Change to "Multiple Tiles" Layer[[BR]]
 3.Pan/Move the layer a bit, for example, put Spain in the center of the
 map.[[BR]]
 4.Change to "Single Tile" Layer, and... you'll see that shows the previous
 loaded image from the layer, and then, when its loaded, it shows the
 correct image.
 But this creates a very strange effect.[[BR]]

 I've made some tests and I noticed that only happens
 if you have a WMS Base Layer (not happens if overlay) with singleTile =
 true.

 It happens in OpenLayers 2.10 and trunk version, but NOT in 2.9.1, 2.9 or
 2.8.
 I haven't tested other versions.

 It happens with Google layers too, for example, if you have a WMS Base
 Layer (singleTile) and a Google Layer

 Do you think this is easy to solve?

 Thank you, and sorry about my english :(

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


More information about the Trac mailing list