【问题标题】:Get nearby fire stations to a given location but the results shows medical centers将附近的消防站送到给定位置,但结果显示医疗中心
【发布时间】:2020-09-21 16:45:54
【问题描述】:

我正在使用 Google Places API 并尝试将附近的消防站送到给定位置,但我得到的结果显示医疗中心我正在使用以下 URL 发送请求,并将类型设置为“fire+stations”我也尝试了“消防站”和“消防部门”,但仍然没有成功。

https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=34.019605,71.5872217&radius=10000&type=fire+station&sensor=true&key={my付费密钥}

【问题讨论】:

标签: java android google-places-api


【解决方案1】:

经过一些详细的研究,我发现解决方案必须写为“fire_station”,因为这是在地图中标记消防站的方式。

【讨论】:

    猜你喜欢
    • 2021-10-01
    • 1970-01-01
    • 2011-04-24
    • 1970-01-01
    • 2017-05-28
    • 2016-09-09
    • 1970-01-01
    • 1970-01-01
    • 2011-12-28
    相关资源
    最近更新 更多