coding standards
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1201 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -1184,9 +1184,9 @@ OpenLayers.Util.getResolutionFromScale = function (scale, units) {
|
|||||||
units = "degrees";
|
units = "degrees";
|
||||||
}
|
}
|
||||||
|
|
||||||
normScale = OpenLayers.Util.normalizeScale(scale);
|
var normScale = OpenLayers.Util.normalizeScale(scale);
|
||||||
|
|
||||||
var resolution = 1 / (normScale * OpenLayers.INCHES_PER_UNIT[units]
|
var resolution = 1 / (normScale * OpenLayers.INCHES_PER_UNIT[units]
|
||||||
* OpenLayers.DOTS_PER_INCH);
|
* OpenLayers.DOTS_PER_INCH);
|
||||||
return resolution;
|
return resolution;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user