From 520f081688a2e89275bf5f15d372895abd4cb731 Mon Sep 17 00:00:00 2001 From: crschmidt Date: Sun, 17 Sep 2006 23:56:16 +0000 Subject: [PATCH] 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 --- lib/OpenLayers/Layer.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/OpenLayers/Layer.js b/lib/OpenLayers/Layer.js index c5f5d55bdc..c4bba40bad 100644 --- a/lib/OpenLayers/Layer.js +++ b/lib/OpenLayers/Layer.js @@ -322,7 +322,6 @@ OpenLayers.Layer.prototype = { this.resolutions.push(this.maxResolution / Math.pow(2, i)); } } - this.resolutions = this.resolutions.sort().reverse(); }, /**