Bug fix for r[56].

git-svn-id: http://svn.openlayers.org/trunk/openlayers@59 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Schuyler Erle
2006-05-16 21:06:07 +00:00
parent 00da133a5e
commit dc13cd1ab6

View File

@@ -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);
},
/**