为什么给定的经度/纬度像常规Google搜索一样,Google Places API不返回业务? [英] Why doesn't Google Places API return a business when given a lat/long like a regular Google Search does?
问题描述
好,例如,我正在尝试查找此Google搜索(使用Google Places API)返回的业务:
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):
首先,我使用Google Geocoding API获取商家的确切地址(美国阿拉巴马州Bessemer的Warrior River Road6632)
Firstly I use the Google Geocoding API to get lat/long for the exact address of the business(6632 Warrior River Road, Bessemer, AL)
然后,当我尝试使用返回的地方ID或在经纬度附近使用附近的搜索时,我再也无法获得常规google搜索返回的业务...
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...
我的目标是使用公司地址访问公司网站,但到目前为止,我无法像使用常规Google搜索那样可靠地使用Google Places API做到这一点.
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?
作为旁注,我尝试使用参数"keyword"和"name"以及几乎可以想到的所有商户名称,并且我寻找的商户永远不会返回,而如果我在Google上搜索它总是在右侧的框中.
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.
推荐答案
(当前)对服务区"进行地理定位存在问题使用Places API的企业(没有固定地址的企业).
There are (currently) issues geolocating "Service Area" Businesses (those that don't have a fixed address) with the Places API.
这篇关于为什么给定的经度/纬度像常规Google搜索一样,Google Places API不返回业务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!