Can i get the exact name of a place by providing the latitude and longitudes of a pl开发者_如何转开发ace or do i have to build a database of places based on their longitudes and latitudes first?.
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
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
精彩评论