问题
I am working on an iPhone map application and wanted to know whether it was possible to request any labels visible on Google Maps given a longitude/latitude and radius?
For example if I gave the following location to this Google Maps API, I would get back McCullough Hall, Moore Hall, etc. The list would be any place labels visible on the map (doesn't have to be just restaurants, businesses).
If this is possible can you direct me to where I can learn more about this. If this isn't possible, can you direct me towards another API where it is possible?
回答1:
Look into Googles reverse geocoding, I think that's what you're looking for.
回答2:
The short answer, you cannot!. The only way is to search for places by name and get a reference key to query the place details including lat/lng. Not the other way around.
IMHO, this is mainly a policy of Google instead of being technical limitation.
来源:https://stackoverflow.com/questions/5933215/google-maps-api-requesting-any-place-labels-given-longitude-and-latitude