Use correct value to convert from foot to meters

(was using value for converting to inches).
Thanks @twpayne
This commit is contained in:
Bruno Binet
2013-03-06 12:26:30 +01:00
parent f4aa08ee90
commit 1ff3c79ff6

View File

@@ -39,7 +39,7 @@ ol.ProjectionUnits = {
ol.METERS_PER_UNIT = {};
ol.METERS_PER_UNIT[ol.ProjectionUnits.DEGREES] =
2 * Math.PI * ol.sphere.NORMAL.radius / 360;
ol.METERS_PER_UNIT[ol.ProjectionUnits.FEET] = 0.02540005080010160020;
ol.METERS_PER_UNIT[ol.ProjectionUnits.FEET] = 0.3048;
ol.METERS_PER_UNIT[ol.ProjectionUnits.METERS] = 1;