Google Places API与Google地图结果 [英] Google Places API vs Google Maps results
问题描述
我在Google地图上看到了一些结果,但它不是通过Google Places API发布的。
而谷歌地图显示
美国新泽西州Egg Harbor Township的黑马派克故事书地盘
为什么这种差异?是不是Google Places API会显示Google地图的确切结果?
我在其他几个结果中也观察到了这些差异。
有人可以提出一些解决方案吗?
他们的结果,但我不认为maps.google.com是一个简单的Maps-API /服务实现。然而, textSearch 会为您提供结果: https://maps.googleapis。 com / maps / api / place / textsearch / json?key = yourKey& sensor = false& radius = 50000& location = 40.338254%2C-74.585292& query = storybook + landI see some results on Google Maps but its not coming through Google Places API.
whereas google maps shows
Storybook Land, Black Horse Pike, Egg Harbor Township, NJ, United States
Why this discrepancy? Is it not that Google Places API will show the exact results of Google Maps?
I observed these kind of discrepancies in few other results also.
Can somebody throw some light?
I think you must ask google about the way they get their results, but I don't think that maps.google.com is a simple implementation of the Maps-API/Services.
However, textSearch will give you the result: https://maps.googleapis.com/maps/api/place/textsearch/json?key=yourKey&sensor=false&radius=50000&location=40.338254%2C-74.585292&query=storybook+land
这篇关于Google Places API与Google地图结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!