Loading lib/projCode/laea.js +3 −3 Original line number Diff line number Diff line Loading @@ -228,9 +228,9 @@ Proj4js.Proj.laea = { y = cosz * rh; break; case this.OBLIQ: phi = (Math.abs(rh) <= Proj4js.common.EPSLN) ? this.phi0 : Math.asin(cosz * sinph0 + y * sinz * cosph0 / rh); x *= sinz * cosph0; y = (cosz - Math.sin(phi) * sinph0) * rh; phi = (Math.abs(rh) <= Proj4js.common.EPSLN) ? this.phi0 : Math.asin(cosz * this.sinph0 + y * sinz * this.cosph0 / rh); x *= sinz * this.cosph0; y = (cosz - Math.sin(phi) * this.sinph0) * rh; break; case this.N_POLE: y = -y; Loading Loading
lib/projCode/laea.js +3 −3 Original line number Diff line number Diff line Loading @@ -228,9 +228,9 @@ Proj4js.Proj.laea = { y = cosz * rh; break; case this.OBLIQ: phi = (Math.abs(rh) <= Proj4js.common.EPSLN) ? this.phi0 : Math.asin(cosz * sinph0 + y * sinz * cosph0 / rh); x *= sinz * cosph0; y = (cosz - Math.sin(phi) * sinph0) * rh; phi = (Math.abs(rh) <= Proj4js.common.EPSLN) ? this.phi0 : Math.asin(cosz * this.sinph0 + y * sinz * this.cosph0 / rh); x *= sinz * this.cosph0; y = (cosz - Math.sin(phi) * this.sinph0) * rh; break; case this.N_POLE: y = -y; Loading