i broked ie. der problem is dat extra comma. ok for ffox but not for ie.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@1176 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-08-09 22:20:50 +00:00
parent b3ab32950d
commit bf41b45532

View File

@@ -1,6 +1,7 @@
/* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the full
* text of the license. */
/**
* @class
*/
@@ -1123,7 +1124,7 @@ OpenLayers.INCHES_PER_UNIT = {
'mi': 63360.0,
'm': 39.3701,
'km': 39370.1,
'dd': 4374754,
'dd': 4374754
};
OpenLayers.INCHES_PER_UNIT["in"]= OpenLayers.INCHES_PER_UNIT.inches;
OpenLayers.INCHES_PER_UNIT["degrees"] = OpenLayers.INCHES_PER_UNIT.dd;
@@ -1167,4 +1168,4 @@ OpenLayers.Util.getResolutionFromScale = function (scale, units) {
var resolution = 1 / (normScale * OpenLayers.INCHES_PER_UNIT[units]
* OpenLayers.DOTS_PER_INCH);
return resolution;
};
};