From dc13cd1ab6fccc3b332e8e29aec5757fe9ecd405 Mon Sep 17 00:00:00 2001 From: Schuyler Erle Date: Tue, 16 May 2006 21:06:07 +0000 Subject: [PATCH] Bug fix for r[56]. git-svn-id: http://svn.openlayers.org/trunk/openlayers@59 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 ea7764c8dd..4ea6d3cd3a 100644 --- a/lib/OpenLayers/Map.js +++ b/lib/OpenLayers/Map.js @@ -138,7 +138,7 @@ OpenLayers.Map.prototype = { */ getResolution: function () { // return degrees per pixel - return this.RESOLUTION_AT_ZOOM_LEVEL_0 / Math.pow(2, this.zoom); + return this.maxResolution / Math.pow(2, this.zoom); }, /**