【问题标题】:Google places api auto complete doesn't return what I wantGoogle Places api 自动完成不返回我想要的
【发布时间】:2016-11-03 22:23:53
【问题描述】:

检查这个 api url

https://maps.googleapis.com/maps/api/place/autocomplete/json?input=jolibee&location=8.2285156,124.2413198&radius=500&key=API_KEY

我希望这个请求在给定半径内的给定位置返回名为“jolibee”的地方......但结果返回的地方超出了给定参数。

参数有问题吗?

【问题讨论】:

    标签: google-maps google-maps-api-3 autocomplete google-places-api


    【解决方案1】:

    位置是偏见,而不是过滤器。请参阅此答案,例如:Google map api autocomplete restricted/bias to street address in my town

    【讨论】:

      猜你喜欢
      • 2018-05-26
      • 2013-10-10
      • 1970-01-01
      • 2013-08-24
      • 2014-05-01
      • 1970-01-01
      • 2017-10-02
      • 1970-01-01
      • 2022-06-19
      相关资源
      最近更新 更多