[OpenLayers-Users] MousePosition displayProjection problem
ortho->epsg:4326
JamSquad
Jordan_R_Clark at hotmail.com
Wed Apr 21 08:14:33 EDT 2010
Hey!
You might have to transform your points when they trigger. Exasmple:
lastLonLat = map.getLonLatFromViewPortPx(e.xy);
lastLonLat = lastLonLat.transform(projGoogle,proj26917);
This is using Proj4JS. If you transform it, the x, y position of your
feature will be in the second variables projection. (26917 for me..)
Anyways hope this helps..
JamSquad
--
View this message in context: http://n2.nabble.com/MousePosition-displayProjection-problem-ortho-epsg-4326-tp4936345p4936582.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list