From 66dabae11bc235f61dbe89139ae10f749a379b4c Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Thu, 31 Mar 2011 16:26:42 +0000 Subject: [PATCH] Making it so overlays at the top of the draw stack get the moveTo call first (base layer still gets the first moveTo). p=mosesonline, r=me (closes #3230) git-svn-id: http://svn.openlayers.org/trunk/openlayers@11848 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 0789c4687a..ef5a475e68 100644 --- a/lib/OpenLayers/Map.js +++ b/lib/OpenLayers/Map.js @@ -1849,7 +1849,7 @@ OpenLayers.Map = OpenLayers.Class({ bounds = this.baseLayer.getExtent(); - for (var i=0, len=this.layers.length; i=0; --i) { var layer = this.layers[i]; if (layer !== this.baseLayer && !layer.isBaseLayer) { var inRange = layer.calculateInRange();