coding standards

git-svn-id: http://svn.openlayers.org/trunk/openlayers@1201 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-08-12 16:24:33 +00:00
parent 2a496c840c
commit b63427037f

View File

@@ -1184,9 +1184,9 @@ OpenLayers.Util.getResolutionFromScale = function (scale, units) {
units = "degrees";
}
normScale = OpenLayers.Util.normalizeScale(scale);
var normScale = OpenLayers.Util.normalizeScale(scale);
var resolution = 1 / (normScale * OpenLayers.INCHES_PER_UNIT[units]
* OpenLayers.DOTS_PER_INCH);
* OpenLayers.DOTS_PER_INCH);
return resolution;
};