Add sphere with radius equal to the semi-major axis of the WGS84 ellipsoid

This commit is contained in:
Tom Payne
2013-03-03 16:17:38 +01:00
parent 85db5273be
commit 684ea35673

10
src/ol/sphere/wgs84.js Normal file
View 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);