Fix doc bug

This commit is contained in:
Tim Schaub
2013-06-24 12:21:56 -06:00
parent 5a95d606f8
commit 129e4d5704

View File

@@ -139,8 +139,9 @@ ol.Projection.prototype.getUnits = function() {
/**
* Get the amount of meters per unit of this projection.
* @return {number} Meters.
* 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.
*/
ol.Projection.prototype.getMetersPerUnit = function() {
return ol.METERS_PER_UNIT[this.units_];