【问题标题】:Google autocomplete place API not suggesting few popular places谷歌自动完成地点 API 没有提示几个热门地点
【发布时间】:2016-10-03 14:25:55
【问题描述】:

我正在使用 https://maps.googleapis.com/maps/api/place/autocompete?key=MyKey&input=MySearchText api 进行自动位置建议,但我并没有得到几个热门城市的回应,而且我可以在谷歌地图应用程序上轻松搜索同一个地方。谁能帮我解决我做错了什么以及google place api没有建议这个位置的原因是什么?我正在寻找以下位置: 4 horner square london e1 6ew

谢谢,

【问题讨论】:

    标签: google-maps google-places-api


    【解决方案1】:

    当我使用地理编码 API 搜索“4 horner square london e1 6ew”时,我可以得到这个地址。

    https://maps.googleapis.com/maps/api/geocode/json?address=4%20horner%20square%20london%20e1%206ew&key=YOUR_API_KEY

    地点 ID 是 ChIJs2foBLQcdkgRHljoVNXS89g

    这个地方没有出现在地方自动完成中的事实真的很奇怪。我也有零结果:

    https://maps.googleapis.com/maps/api/place/autocomplete/json?input=4%20horner%20square%20london%20e1%206ew&key=YOUR_API_KEY

    我认为您必须在公共issue tracker 上提出问题。

    【讨论】:

      猜你喜欢
      • 2014-11-18
      • 1970-01-01
      • 2013-03-23
      • 2013-10-15
      • 2016-11-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-10-20
      相关资源
      最近更新 更多