[OpenLayers-Dev] Get lat/lon from user click?

Robert Hicks robhyx at gmail.com
Mon Dec 21 14:57:03 EST 2009


Hey all, is there a way to get the coordinates of a point on the map that a
user has just clicked on? I see Mouse-position displays the coordinates at
the bottom of the screen, and I also see you can register muliple mouse
events to te map, but I need to store coordinates in a javascript var to
send in a request to my server.

Thanks!

-- 
web http://www.hyxspace.com
aim hyx1138
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20091221/24f9a282/attachment.html


More information about the Dev mailing list