【问题标题】:Get the distance from the current location to the final destination by road like in Apple's Maps app获取从当前位置到最终目的地的距离,例如在 Apple 的地图应用中
【发布时间】:2013-05-29 16:17:12
【问题描述】:

我想设置起始位置和最终目的地,并获取实际通过道路的时间,例如在地图应用中。我不知道我应该搜索什么或它叫什么。我认为 Mapkit 是正确的框架,但我似乎无法找到我正在寻找的东西。

【问题讨论】:

  • 不幸的是,MapKit 没有这个功能。

标签: ios mapkit distance apple-maps


【解决方案1】:

抱歉,伙计,但 MapKit 没有内置此功能。

您最好使用 Google Maps API https://developers.google.com/maps/documentation/directions/#DirectionsResponses,它会为您提供距离和行车路线。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2012-09-21
    • 2014-08-15
    • 2022-11-28
    • 1970-01-01
    • 2014-11-14
    相关资源
    最近更新 更多