问题
I am wondering if it is possible to get a name for a shop, mall or restaurant by using the google geocoding api. For example I need to have 'Starbucks' as a result if the user searched for. Using the Address Component Types from the official api reference doesn't seem to be able to receive this. Is there any other way to get this information?
回答1:
No, the geocoder returns coordinates for postal addresses (and some "well-known" locations). I believe you are looking for the Places API, also available as a library in the Google Maps API
来源:https://stackoverflow.com/questions/13809685/possibility-to-get-the-shop-name-with-google-maps-geocoder-api