iOS MapKit 步行路线指向
我正在向我的 iOS 应用程序添加一个地图组件,我希望能够向用户显示他们的当前位置和到达目的地位置的路径(均使用 GPS 坐标)。我在网上找到了很多示例应用程序可以执行此操作,但我想添加的是它们在最后一点应该面对的方向。
我想我可以通过添加第三个点并从目的地到第三点绘制的线显示方向来做到这一点,但我似乎找不到任何如何做到这一点的示例。
感谢您的帮助。
I am adding a map component to my iOS app and I would like to be able to show the user their current location and a path to a destination location (both using GPS coordinates). I have found a lot of sample apps online that do this but what I want to add is the direction they should be facing at the final point.
I thought that I might do this by adding a third point and have line drawn from the destination to the third point show direction but I can't seem to find any examples of how to do this.
Thanks for the help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论