Loading lib/projCode/poly.js +1 −1 Original line number Diff line number Diff line Loading @@ -144,7 +144,7 @@ Proj4js.Proj.poly = { b = al * al + (p.x/this.a) * (p.x/this.a); iflg = phi4z(this.es,this.e0,this.e1,this.e2,this.e3,this.al,b,c,lat); if (iflg != 1) return(iflg); lon = Proj4js.common.adjust_lon((asinz(p.x * c / this.a) / Math.sin(lat)) + this.long0); lon = Proj4js.common.adjust_lon((Proj4js.common.asinz(p.x * c / this.a) / Math.sin(lat)) + this.long0); } p.x=lon; Loading lib/projCode/tmerc.js +1 −1 Original line number Diff line number Diff line Loading @@ -90,7 +90,7 @@ Proj4js.Proj.tmerc = { var temp = this.lat0 + p.y/(this.a * this.k0); var h = Math.cos(temp); con = Math.sqrt((1.0 - h * h)/(1.0 + g * g)); lat = Math.asinz(con); lat = Proj4js.common.asinz(con); if (temp < 0) lat = -lat; if ((g == 0) && (h == 0)) { Loading Loading
lib/projCode/poly.js +1 −1 Original line number Diff line number Diff line Loading @@ -144,7 +144,7 @@ Proj4js.Proj.poly = { b = al * al + (p.x/this.a) * (p.x/this.a); iflg = phi4z(this.es,this.e0,this.e1,this.e2,this.e3,this.al,b,c,lat); if (iflg != 1) return(iflg); lon = Proj4js.common.adjust_lon((asinz(p.x * c / this.a) / Math.sin(lat)) + this.long0); lon = Proj4js.common.adjust_lon((Proj4js.common.asinz(p.x * c / this.a) / Math.sin(lat)) + this.long0); } p.x=lon; Loading
lib/projCode/tmerc.js +1 −1 Original line number Diff line number Diff line Loading @@ -90,7 +90,7 @@ Proj4js.Proj.tmerc = { var temp = this.lat0 + p.y/(this.a * this.k0); var h = Math.cos(temp); con = Math.sqrt((1.0 - h * h)/(1.0 + g * g)); lat = Math.asinz(con); lat = Proj4js.common.asinz(con); if (temp < 0) lat = -lat; if ((g == 0) && (h == 0)) { Loading