text: Proj4js.Proj.vandg={init:function(){this.R=6370997},forward:function(e){var t,i,n=e.x,r=e.y,s=Proj4js.common.adjust_lon(n-this.long0);Math.abs(r)<=Proj4js.common.EPSLN&&(t=this.x0+this.R*s,i=this.y0);var o=Proj4js.common.asinz(2*Math.abs(r/Proj4js.common.PI));(Math.abs(s)<=Proj4js.common.EPSLN||Math.abs(Math.abs(r)-Proj4js.common.HALF_PI)<=Proj4js.common.EPSLN)&&(t=this.x0,i=r>=0?this.y0+Proj4js.common.PI*this.R*Math.tan(.5*o):this.y0+Proj4js.common.PI*this.R*-Math.tan(.5*o));var a=.5*Math.abs(Proj4js.common.PI/s-s/Proj4js.common.PI),l=a*a,h=Math.sin(o),c=Math.cos(o),u=c/(h+c-1),d=u*u,p=u*(2/h-1),f=p*p,m=Proj4js.common.PI*this.R*(a*(u-f)+Math.sqrt(l*(u-f)*(u-f)-(f+l)*(d-f)))/(f+l);return 0>s&&(m=-m),t=this.x0+m,m=Math.abs(m/(Proj4js.common.PI*this.R)),i=r>=0?this.y0+Proj4js.common.PI*this.R*Math.sqrt(1-m*m-2*a*m):this.y0-Proj4js.common.PI*this.R*Math.sqrt(1-m*m-2*a*m),e.x=t,e.y=i,e},inverse:function(e){var t,i,n,r,s,o,a,l,h,c,u,d,p;return e.x-=this.x0,e.y-=this.y0,u=Proj4js.common.PI*this.R,n=e.x/u,r=e.y/u,s=n*n+r*r,o=-Math.abs(r)*(1+s),a=o-2*r*r+n*n,l=-2*o+1+2*r*r+s*s,p=r*r/l+(2*a*a*a/l/l/l-9*o*a/l/l)/27,h=(o-a*a/3/l)/l,c=2*Math.sqrt(-h/3),u=3*p/h/c,Math.abs(u)>1&&(u=u>=0?1:-1),d=Math.acos(u)/3,i=e.y>=0?(-c*Math.cos(d+Proj4js.common.PI/3)-a/3/l)*Proj4js.common.PI:-(-c*Math.cos(d+Proj4js.common.PI/3)-a/3/l)*Proj4js.common.PI,Math.abs(n)<Proj4js.common.EPSLN&&(t=this.long0),t=Proj4js.common.adjust_lon(this.long0+Proj4js.common.PI*(s-1+Math.sqrt(1+2*(n*n-r*r)+s*s))/2/n),e.x=t,e.y=i,e}};