Reputation: 13693
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
Reputation: 57681
Google Maps API can provide detailed information for a location, see http://code.google.com/intl/en/apis/maps/documentation/geocoding/. Example: https://maps.googleapis.com/maps/api/geocode/json?latlng=37.423021,-122.083739&sensor=false
Upvotes: 1
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