Josh
Josh

Reputation: 1911

How to get Latitude/Longitude from Web App?

I have a Web ADF application and I simply want the user to have the ability to click on the map and a Popup window displays the Latitide/Longitude values where the users click on the map. How can I do this?

Upvotes: 2

Views: 1707

Answers (3)

Muad'Dib
Muad'Dib

Reputation: 29286

Check Google Maps, Bing Maps and Yahoo Maps. Each has a different API. Choose one and start coding. There are lots of samples for what you want to do for each of these API's.

here is the online sample link for the ESRI ADF

Upvotes: 0

Kamran Khan
Kamran Khan

Reputation: 9986

Among several ways, one could be that (assuming that you have a table containing, atleast, 3 columns, MapID, Longitude, Latitude), you can:

  1. Create an image map of your world map
  2. Retrieve the longitude/latitude against the id of the image where mouse was clicked.
  3. Display the long/lat.

Also, checkout Bing Maps ASP.NET Control and Developing a .NET Application Using Bing Maps Web Services

Upvotes: 0

Paulo Santos
Paulo Santos

Reputation: 11587

That depends on what Web Map API you are using.

Check its documentation.

Upvotes: 1

Related Questions