[MetaCRS] Proj4js works on Firefox but not on IE8

sandric ionut sandricionut at yahoo.com
Mon Oct 26 08:09:06 EDT 2009


Hello to everybody:
I want to transform between Stereo70 - Romania to LatLong WGS84 and I am using the code bellow. It is working on Firefox but not on IE8. In IE8 it doesn't make the transformation and I get on alert function the same values entered in stX and stY
 
I don't know what I do wrong
 
Ionut
 
var, pctSt70XY, pctLatLongvarstX = 420000;varstY = 350000;varprojSt70 = newProj4js.Proj('EPSG:31700');varprojWGS84 = newProj4js.Proj('EPSG:4326');
 
functioninit() {newProj4js.Point(stX, stY);varpctSt70XYIn = pctSt70XY.clone();
pctSt70XY = 
Proj4js.transform(projSt70, projWGS84, pctSt70XYIn);
alert(pctSt70XYIn.x, pctSt70XYIn.y);
}


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/metacrs/attachments/20091026/b4bd86a7/attachment.html


More information about the MetaCRS mailing list