I tried that sort of conversion :
                var point = map.getLonLatFromPixel(position);
                locDisp.innerHTML = (point.lat / 40000000 * 360 ).toFixed(4)+ 
', ' +
(point.lon / 40065035.535 * 180).toFixed(4);
which seem to give results  in the good ranges.
But is it really the good way of conversion ? And why the latitude and
longitude would be given in meters ? Isn't it weird ? Have I missed
something ?

Thank you !
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/What-is-the-meaning-of-the-result-of-getLonLatFromPixel-tp5488414p5488456.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users

Reply via email to