I'm answering my own question..

The answer is: "read the f*****g manual" :)
The problem was that I forgot to include the proj4js-lib...




On Tue, 2008-11-25 at 11:02 +0100, Marten Andersson wrote:
> Hello!
> I have some problems with the transform-function in the point-class..
> This is the code that I'm using:
> 
> var lonLat = point.transform(map.getProjectionObject(),new
> OpenLayers.Projection("EPSG:4326"));
> alert(lonLat.toShortString());
> 
> The map projection is "EPSG:2400" and the coordinates are still the same
> after the conversion.
> 
> Does anyone know how this should be done?
> 
> Best regards: MÃ¥rten
> _______________________________________________
> Users mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/users
> 
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to