From 1657ed2d23525f7b8d268575a30bbcafc6380b95 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Tue, 15 Jul 2014 15:49:48 -0600 Subject: [PATCH] Make ol.proj.METERS_PER_UNIT exportable We need to apply the `@api` annotation to the object itself in order for it to be exportable. --- src/ol/proj/proj.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ol/proj/proj.js b/src/ol/proj/proj.js index 645c024347..af589a1b6a 100644 --- a/src/ol/proj/proj.js +++ b/src/ol/proj/proj.js @@ -42,6 +42,7 @@ ol.proj.Units = { * @type {Object.} * @api */ +ol.proj.METERS_PER_UNIT = {}; ol.proj.METERS_PER_UNIT[ol.proj.Units.DEGREES] = 2 * Math.PI * ol.sphere.NORMAL.radius / 360; ol.proj.METERS_PER_UNIT[ol.proj.Units.FEET] = 0.3048;