[OpenLayers-Users] different coords format

Christopher Schmidt crschmidt at metacarta.com
Mon Dec 10 07:56:10 EST 2007


On Mon, Dec 10, 2007 at 01:19:26PM +0100, Bart van den Eijnden (OSGIS) wrote:
> You can use the function getLonLatFromViewPortPx on the map object.

actually, getLonLatFromPixel is the right function to use here:
"FromViewPortPx" is a more internal function that we wrap up with
getLatLonFromPixel.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list