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
This commit is contained in:
@@ -1849,7 +1849,7 @@ OpenLayers.Map = OpenLayers.Class({
|
||||
|
||||
bounds = this.baseLayer.getExtent();
|
||||
|
||||
for (var i=0, len=this.layers.length; i<len; i++) {
|
||||
for (var i=this.layers.length-1; i>=0; --i) {
|
||||
var layer = this.layers[i];
|
||||
if (layer !== this.baseLayer && !layer.isBaseLayer) {
|
||||
var inRange = layer.calculateInRange();
|
||||
|
||||
Reference in New Issue
Block a user