I am very new to OpenLayers, been using Google Maps for awhile but want to switch to something more open. From examples I have seen online and responses to other questions I’ve seen on here I’ve come up with this basic map with a point: http://pastie.org/3625219
I would like to get the latitude/longitude of the point after I move it. The issue I am having is converting the projection back to 4326 from 900913. Everything I’ve tried for a transform comes back as blank…
SO! I am sure I am missing something basic… Javascript isn’t my native language. Any pointers would be appreciated.
Don’t need to transform x and y coordinates separately. You should make clone of feature or feature’s geometry and transform geomety. For example:
See code here.