Add sphere with radius equal to the semi-major axis of the WGS84 ellipsoid
This commit is contained in:
10
src/ol/sphere/wgs84.js
Normal file
10
src/ol/sphere/wgs84.js
Normal file
@@ -0,0 +1,10 @@
|
||||
goog.provide('ol.sphere.WGS84');
|
||||
|
||||
goog.require('ol.Sphere');
|
||||
|
||||
|
||||
/**
|
||||
* A sphere with radius equal to the semi-major axis of the WGS84 ellipsoid.
|
||||
* @const {ol.Sphere}
|
||||
*/
|
||||
ol.sphere.WGS84 = new ol.Sphere(6378137);
|
||||
Reference in New Issue
Block a user