Fix doc bug
This commit is contained in:
+3
-2
@@ -139,8 +139,9 @@ ol.Projection.prototype.getUnits = function() {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the amount of meters per unit of this projection.
|
* Get the amount of meters per unit of this projection. If the projection is
|
||||||
* @return {number} Meters.
|
* not configured with a units identifier, the return is `undefined`.
|
||||||
|
* @return {number|undefined} Meters.
|
||||||
*/
|
*/
|
||||||
ol.Projection.prototype.getMetersPerUnit = function() {
|
ol.Projection.prototype.getMetersPerUnit = function() {
|
||||||
return ol.METERS_PER_UNIT[this.units_];
|
return ol.METERS_PER_UNIT[this.units_];
|
||||||
|
|||||||
Reference in New Issue
Block a user