Make ol.Ellipsoid properties constant
This commit is contained in:
@@ -13,16 +13,19 @@ goog.require('ol.Coordinate');
|
|||||||
ol.Ellipsoid = function(a, flattening) {
|
ol.Ellipsoid = function(a, flattening) {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @const
|
||||||
* @type {number}
|
* @type {number}
|
||||||
*/
|
*/
|
||||||
this.a = a;
|
this.a = a;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @const
|
||||||
* @type {number}
|
* @type {number}
|
||||||
*/
|
*/
|
||||||
this.flattening = flattening;
|
this.flattening = flattening;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @const
|
||||||
* @type {number}
|
* @type {number}
|
||||||
*/
|
*/
|
||||||
this.b = this.a * (1 - this.flattening);
|
this.b = this.a * (1 - this.flattening);
|
||||||
|
|||||||
Reference in New Issue
Block a user