问题
Ok so let's say for instance I'm trying to find the business that is returned from this google search (using the Google Places API):
https://www.google.com/?gws_rd=ssl#q=precision+services+6632+warrior+river+road+bessemer+al+35023
Firstly I use the Google Geocoding API to get lat/long for the exact address of the business(6632 Warrior River Road, Bessemer, AL)
Then when I try to use the Place ID that is returned OR use a nearby search with that lat/long I am never able to get the business that is returned from the regular google search...
My goal is to get the business website using a business address but so far I can't reliably do that with Google Places API nearly as well as just doing a regular Google Search.
Is there something I am doing wrong and someway I can get the business to be returned or is that just the way it is?
As a side note I've tried using the parameters "keyword" and "name" with the business name pretty much everything I can think of and the business I am looking for is never returned whereas if I search it on google it is always in the box on the right side.
回答1:
There are (currently) issues geolocating "Service Area" Businesses (those that don't have a fixed address) with the Places API.
- Issue 8986: Bug: Unable to find Place IDs for certain businesses
- Issue 8900: Places API Details and Search return NOT_FOUND for Service Area Business with valid Place ID
- Issue 35828187: Support service area businesses
来源:https://stackoverflow.com/questions/38150031/why-doesnt-google-places-api-return-a-business-when-given-a-lat-long-like-a-reg