Link to home
Start Free TrialLog in
Avatar of JoshinHtown
JoshinHtownFlag for United States of America

asked on

Retrive Latitude and Longitude using Mouse Click

Hello All-

I'm using a ArcGIS Server Web ADF application and would like to know how to get Latitude/Longitude values using a mouse click on the map.  Is there a tool or some code I could incorporate to get a popup box showing those values using Javascript?

Please let me know.
Avatar of Mohamed_allabakash
Mohamed_allabakash
Flag of India image

ASKER CERTIFIED SOLUTION
Avatar of JoshinHtown
JoshinHtown
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Molnár István
some example and documentation:
http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jssamples_start.htm->Reverse geocode
http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/demos/locator/locator_reverse.html[reverse geocoding-with a little modification you could get not only the address, but  the Latitude/Longitude ]

hope it helps