From 4f3641606bc2969395026fc80d035af59d016c35 Mon Sep 17 00:00:00 2001 From: euzuro Date: Wed, 16 Aug 2006 18:13:23 +0000 Subject: [PATCH] baselayer needs to do a total redraw git-svn-id: http://svn.openlayers.org/trunk/openlayers@1250 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OpenLayers/Map.js b/lib/OpenLayers/Map.js index fb78f23cad..9980b9edff 100644 --- a/lib/OpenLayers/Map.js +++ b/lib/OpenLayers/Map.js @@ -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