Gandalf
Gandalf

Reputation: 13693

W3C Geolocation API Places Database

Can i get the exact name of a place by providing the latitude and longitudes of a place or do i have to build a database of places based on their longitudes and latitudes first?.

Upvotes: 0

Views: 312

Answers (2)

Txugo
Txugo

Reputation: 5078

you can use Google's Geocoding API.

By doing Reverse Geocoding (Address Lookup):

for example make a request for: http://maps.googleapis.com/maps/api/geocode/json?latlng=40.714224,-73.961452

check http://code.google.com/apis/maps/documentation/geocoding/.

Cheers

Upvotes: 2

Related Questions