[OpenLayers-Users] How does the transform-function work?
Marten Andersson
Marten.Andersson at smhi.se
Tue Nov 25 05:02:22 EST 2008
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
More information about the Users
mailing list