Loading lib/projCode/ortho.js +2 −2 Original line number Diff line number Diff line Loading @@ -85,13 +85,13 @@ Proj4js.Proj.ortho = { z = Proj4js.common.asinz(rh / this.a); sinz=Math.sin(z); cosi=Math.cos(z); cosz=Math.cos(z); lon = this.long0; if (Math.abs(rh) <= Proj4js.common.EPSLN) { lat = this.lat0; } lat = Proj4js.common.asinz(cosz * this.sin_p14 + (y * sinz * this.cos_p14)/rh); lat = Proj4js.common.asinz(cosz * this.sin_p14 + (p.y * sinz * this.cos_p14)/rh); con = Math.abs(lat0) - Proj4js.common.HALF_PI; if (Math.abs(con) <= Proj4js.common.EPSLN) { if (this.lat0 >= 0) { Loading Loading
lib/projCode/ortho.js +2 −2 Original line number Diff line number Diff line Loading @@ -85,13 +85,13 @@ Proj4js.Proj.ortho = { z = Proj4js.common.asinz(rh / this.a); sinz=Math.sin(z); cosi=Math.cos(z); cosz=Math.cos(z); lon = this.long0; if (Math.abs(rh) <= Proj4js.common.EPSLN) { lat = this.lat0; } lat = Proj4js.common.asinz(cosz * this.sin_p14 + (y * sinz * this.cos_p14)/rh); lat = Proj4js.common.asinz(cosz * this.sin_p14 + (p.y * sinz * this.cos_p14)/rh); con = Math.abs(lat0) - Proj4js.common.HALF_PI; if (Math.abs(con) <= Proj4js.common.EPSLN) { if (this.lat0 >= 0) { Loading