Function for getting spherical area

This commit is contained in:
Tim Schaub
2017-08-10 18:30:42 -06:00
parent 92c62e5432
commit 94fb7ca5a6
3 changed files with 116 additions and 17 deletions

View File

@@ -437,11 +437,12 @@ olx.MapOptions.prototype.view;
/**
* Object literal with options for the {@link ol.Sphere.getLength}.
* Object literal with options for the {@link ol.Sphere.getLength} or
* {@link ol.Sphere.getArea} functions.
* @typedef {{projection: (ol.ProjectionLike|undefined),
* radius: (number|undefined)}}
*/
olx.SphereLengthOptions;
olx.SphereMetricOptions;
/**
@@ -450,7 +451,7 @@ olx.SphereLengthOptions;
* @type {(ol.ProjectionLike|undefined)}
* @api
*/
olx.SphereLengthOptions.prototype.projection;
olx.SphereMetricOptions.prototype.projection;
/**
@@ -459,7 +460,7 @@ olx.SphereLengthOptions.prototype.projection;
* @type {(number|undefined)}
* @api
*/
olx.SphereLengthOptions.prototype.radius;
olx.SphereMetricOptions.prototype.radius;
/**