Loading lib/projCode/somerc.js +1 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,7 @@ Proj4js.Proj.somerc = { var flattening = 1 / invF; var e2 = 2 * flattening - Math.pow(flattening, 2); var e = this.e = Math.sqrt(e2); this.R = semiMajorAxis * Math.sqrt(1 - e2) / (1 - e2 * Math.pow(sinPhy0, 2.0)); this.R = this.k0 * semiMajorAxis * Math.sqrt(1 - e2) / (1 - e2 * Math.pow(sinPhy0, 2.0)); this.alpha = Math.sqrt(1 + e2 / (1 - e2) * Math.pow(Math.cos(phy0), 4.0)); this.b0 = Math.asin(sinPhy0 / this.alpha); this.K = Math.log(Math.tan(Math.PI / 4.0 + this.b0 / 2.0)) Loading Loading
lib/projCode/somerc.js +1 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,7 @@ Proj4js.Proj.somerc = { var flattening = 1 / invF; var e2 = 2 * flattening - Math.pow(flattening, 2); var e = this.e = Math.sqrt(e2); this.R = semiMajorAxis * Math.sqrt(1 - e2) / (1 - e2 * Math.pow(sinPhy0, 2.0)); this.R = this.k0 * semiMajorAxis * Math.sqrt(1 - e2) / (1 - e2 * Math.pow(sinPhy0, 2.0)); this.alpha = Math.sqrt(1 + e2 / (1 - e2) * Math.pow(Math.cos(phy0), 4.0)); this.b0 = Math.asin(sinPhy0 / this.alpha); this.K = Math.log(Math.tan(Math.PI / 4.0 + this.b0 / 2.0)) Loading