gpt4 book ai didi

apple-maps - Apple Map 中的多个航点

转载 作者:行者123 更新时间:2023-12-03 17:18:25 27 4
gpt4 key购买 nike

有没有办法以编程方式显示苹果 map 中多个点之间的路线,如谷歌地图?

multiple waypoints in google Map

最佳答案

正如 MKMapItem 文档所述:

If you specify the MKLaunchOptionsDirectionsModeKey option in the launchOptions dictionary, the mapItems array must have no more than two items in it. If the array contains one item, the Maps app generates directions from the user’s current location to the location specified by the map item. If the array contains two items, the Maps app generates directions from the location of the first item to the location of the second item in the array.



所以答案是否定的。

关于apple-maps - Apple Map 中的多个航点,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27858667/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com