Add @classdesc to ol.Sphere
This commit is contained in:
@@ -15,6 +15,17 @@ goog.require('goog.math');
|
||||
|
||||
|
||||
/**
|
||||
* @classdesc
|
||||
* Class to create objects that can be used with {@link
|
||||
* ol.geom.Polygon.circular}.
|
||||
*
|
||||
* For example to create a sphere whose radius is equal to the semi-major
|
||||
* axis of the WGS84 ellipsoid:
|
||||
*
|
||||
* ```js
|
||||
* var wgs84Sphere= new ol.Sphere(6378137);
|
||||
* ```
|
||||
*
|
||||
* @constructor
|
||||
* @param {number} radius Radius.
|
||||
* @api
|
||||
|
||||
Reference in New Issue
Block a user