diff --git a/lib/OpenLayers/Layer.js b/lib/OpenLayers/Layer.js index d796bc06fa..ac6209fb98 100644 --- a/lib/OpenLayers/Layer.js +++ b/lib/OpenLayers/Layer.js @@ -647,7 +647,8 @@ OpenLayers.Layer = OpenLayers.Class({ // determine minResolution if (confProps.maxScale != null) { confProps.minResolution = - OpenLayers.Util.getResolutionFromScale(confProps.maxScale); + OpenLayers.Util.getResolutionFromScale(confProps.maxScale, + confProps.units); } else if ( (confProps.minResolution == "auto") && (confProps.minExtent != null) ) { var viewSize = this.map.getSize();