Loading lib/projCode/stere.js +2 −1 Original line number Diff line number Diff line Loading @@ -71,6 +71,7 @@ Proj4js.Proj.stere = { // Stereographic forward equations--mapping lat,long to x,y forward: function(p) { var lon = p.x; lon = Proj4js.common.adjust_lon(lon - this.long0); var lat = p.y; var x, y Loading Loading @@ -233,7 +234,7 @@ Proj4js.Proj.stere = { if (Math.abs(phi_l - lat) < this.CONV) { if (this.mode == this.S_POLE) lat = -lat; lon = (x == 0. && y == 0.) ? 0. : Math.atan2(x, y); p.x = lon; p.x = Proj4js.common.adjust_lon(lon + this.long0); p.y = lat return p; } Loading Loading
lib/projCode/stere.js +2 −1 Original line number Diff line number Diff line Loading @@ -71,6 +71,7 @@ Proj4js.Proj.stere = { // Stereographic forward equations--mapping lat,long to x,y forward: function(p) { var lon = p.x; lon = Proj4js.common.adjust_lon(lon - this.long0); var lat = p.y; var x, y Loading Loading @@ -233,7 +234,7 @@ Proj4js.Proj.stere = { if (Math.abs(phi_l - lat) < this.CONV) { if (this.mode == this.S_POLE) lat = -lat; lon = (x == 0. && y == 0.) ? 0. : Math.atan2(x, y); p.x = lon; p.x = Proj4js.common.adjust_lon(lon + this.long0); p.y = lat return p; } Loading