Fix broken units: inches was missing, and dd was in place of images.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@966 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -11,11 +11,12 @@ OpenLayers.Control.Scale = Class.create();
|
||||
OpenLayers.Control.Scale.prototype =
|
||||
Object.extend( new OpenLayers.Control(), {
|
||||
INCHES_PER_UNIT: { // borrowed from MapServer mapscale.c
|
||||
dd: 1.0,
|
||||
inches: 1.0,
|
||||
ft: 12.0,
|
||||
mi: 63360.0,
|
||||
m: 39.3701,
|
||||
km: 39370.1
|
||||
km: 39370.1,
|
||||
dd: 4374754
|
||||
},
|
||||
|
||||
/** @type DOMElement */
|
||||
|
||||
Reference in New Issue
Block a user