【问题标题】:How to filter out only Train Stations in Google Autocomplete [duplicate]如何在 Google Autocomplete 中仅过滤掉火车站 [重复]
【发布时间】:2019-03-09 11:05:50
【问题描述】:

我想在我的应用中使用 Google Places AutoComplete API,但我只想将结果过滤到火车站而不是完整的地址。有可能吗?

【问题讨论】:

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


    【解决方案1】:

    我认为 API 目前不支持此功能。

    我可以在 Places API 网络服务中看到启用此功能的功能请求:

    https://issuetracker.google.com/issues/35820774

    我建议为 Android 自动完成的 Places API 提交相同的功能请求。

    您还可以在 Android 和 iOS 中看到对 PlacePickers 的类似功能请求:

    https://issuetracker.google.com/issues/35826944

    https://issuetracker.google.com/issues/35830469

    可能重复 - How to restrict Android Google autocomplete API to only get Train Stations

    【讨论】:

    • 好的,我正在考虑使用这里的地图 API 来完成这项工作,让我们看看。无论如何感谢您的帮助。
    猜你喜欢
    • 1970-01-01
    • 2021-11-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-12-19
    • 1970-01-01
    • 2019-10-30
    相关资源
    最近更新 更多