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:
euzuro
2006-08-16 18:13:23 +00:00
parent bd25727b27
commit 4f3641606b

View File

@@ -371,7 +371,7 @@ OpenLayers.Map.prototype = {
// set new baselayer and move it to the old layer's extent
this.baseLayer = newBaseLayer;
if (oldExtent != null) {
this.baseLayer.moveTo(oldExtent);
this.baseLayer.moveTo(oldExtent, true);
}
// make the new baselayer visible