[OpenLayers-Users] Get lat/lon from user click?
Tobias Wendorff
tobias.wendorff at uni-dortmund.de
Mon Dec 21 15:08:22 EST 2009
Hi Robert,
Robert Hicks schrieb:
> 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.
my code might help you - zoom as far as possible ;-)
http://81.89.102.117/openstreetmap/reverse-geocoder/index.html
Best regards,
Tobias
More information about the Users
mailing list