【问题标题】:Apple maps find nearest location on the road or in the parkApple 地图在道路上或公园中找到最近的位置
【发布时间】:2014-03-25 18:48:53
【问题描述】:

我的 iOS 应用程序使用 Apple 地图,需要在道路或公园中找到最近的坐标。我在 API 方法中找不到。也许为此目的更好地使用谷歌地图。我该怎么做? 我找到了一些类似的,但没有直接的答案。

【问题讨论】:

标签: ios google-maps geocoding apple-maps


【解决方案1】:

OpenStreetMap 查询:

<query type="way">
  <around {{center}} radius="100.0"/>
  <has-kv k="highway"  />
</query>
<print />

示例(见数据):http://overpass-turbo.eu/s/3iK

【讨论】:

    猜你喜欢
    • 2022-11-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-04-24
    • 1970-01-01
    • 2012-11-15
    相关资源
    最近更新 更多