From https://developers.google.com/closure/compiler/docs/js-for-compiler: "The type declaration and additional comment are optional. If you provide a type declaration, put the declaration on a separate line."
12 lines
221 B
JavaScript
12 lines
221 B
JavaScript
goog.provide('ol.sphere.WGS84');
|
|
|
|
goog.require('ol.Sphere');
|
|
|
|
|
|
/**
|
|
* A sphere with radius equal to the semi-major axis of the WGS84 ellipsoid.
|
|
* @const
|
|
* @type {ol.Sphere}
|
|
*/
|
|
ol.sphere.WGS84 = new ol.Sphere(6378137);
|