baselayer needs to do a total redraw
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1250 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -371,7 +371,7 @@ OpenLayers.Map.prototype = {
|
|||||||
// set new baselayer and move it to the old layer's extent
|
// set new baselayer and move it to the old layer's extent
|
||||||
this.baseLayer = newBaseLayer;
|
this.baseLayer = newBaseLayer;
|
||||||
if (oldExtent != null) {
|
if (oldExtent != null) {
|
||||||
this.baseLayer.moveTo(oldExtent);
|
this.baseLayer.moveTo(oldExtent, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
// make the new baselayer visible
|
// make the new baselayer visible
|
||||||
|
|||||||
Reference in New Issue
Block a user