Are the respective proj.js files loaded?

-- marc

Max Stephan schrieb:
> Hi everyone!
>
> I´m having problems with transforming my coordinates which are
> Gauß-Krüger/Zone 4 (Germany). In order to add them to my map they should be
> EPSG:4326 or EPSG:900913 (the google-EPSG). I tried to convert them wire the
> method offered by OpenLayers (myCoords.transform(presentEPSG,targetEPSG). As
> present EPSG I use EPSG:31486 (I guess that should be the right one) and as
> targetEPSG I use EPSG:900913.
>
> The code looks like this:
> markerCoord.transform(new OpenLayers.Projection("EPSG:31468"),new
> OpenLayers.Projection("EPSG:900913"));
>
> The input coordinates are for example 4426360 E 5489583 N, the output to
> EPSG:900913 should be something in the area of 1220000 E 6360000 N. But when
> I try transforming it the result is always exactly the same as the input
> was.
>
> Any ideas how to solve this problem?
>
> Greets and thx in advance
> Max Stephan
>
>   

_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to