Quote indexes into array.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1161 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -1115,14 +1115,14 @@ OpenLayers.Util.createUniqueID = function(prefix) {
|
||||
|
||||
/** constant inches per unit */
|
||||
OpenLayers.INCHES_PER_UNIT = { // borrowed from MapServer mapscale.c
|
||||
inches: 1.0,
|
||||
in: 1.0,
|
||||
ft: 12.0,
|
||||
mi: 63360.0,
|
||||
m: 39.3701,
|
||||
km: 39370.1,
|
||||
dd: 4374754,
|
||||
degrees: 4374754,
|
||||
'inches': 1.0,
|
||||
'in': 1.0,
|
||||
'ft': 12.0,
|
||||
'mi': 63360.0,
|
||||
'm': 39.3701,
|
||||
'km': 39370.1,
|
||||
'dd': 4374754,
|
||||
'degrees': 4374754
|
||||
};
|
||||
|
||||
/** sensible default */
|
||||
|
||||
Reference in New Issue
Block a user