r4612@creusa: crschmidt | 2006-09-17 14:51:38 -0400

sort() in javascript is not a numeric sort. As a result, this fails to sort
 "32, 75, 9" as "9,32,75", which means that with the current sort breaks 
 zoom levels in any case where we're sorting the resolutions. Remove this for
 the time being.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@1478 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2006-09-17 23:56:16 +00:00
parent 601a6c8376
commit 520f081688

View File

@@ -322,7 +322,6 @@ OpenLayers.Layer.prototype = {
this.resolutions.push(this.maxResolution / Math.pow(2, i));
}
}
this.resolutions = this.resolutions.sort().reverse();
},
/**