From d7c2e27d5053f2ffa81660a01697aadab4b792f6 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Mon, 18 Aug 2014 14:20:21 +0200 Subject: [PATCH] Export ol.proj.Projection#getMetersPerUnit function --- 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 5c3fe43d3f..6f8d5112be 100644 --- a/src/ol/proj/proj.js +++ b/src/ol/proj/proj.js @@ -149,6 +149,7 @@ ol.proj.Projection.prototype.getUnits = function() { * Get the amount of meters per unit of this projection. If the projection is * not configured with a units identifier, the return is `undefined`. * @return {number|undefined} Meters. + * @api */ ol.proj.Projection.prototype.getMetersPerUnit = function() { return ol.proj.METERS_PER_UNIT[this.units_];