我正在使用via points绘制导航路线。我希望导航应该遵循与提供的点数完全相同的路线。要实现这一点,我应该设置什么类型的路由模式? 现在我正在设置SKRouteMode.EFFICIENT,但不知何故路由绘制的次数不同多次。
我不想要任何最快或最短的路线,而是完全遵循我的经过点的路线。
请帮助(我使用的是SDK 2.5)
以下是坐标:
起点:-104.98036489999998,39.7435209
终点:-104.98036489999998,39.7435209
Via Point:
-104.97252523899078,39.74324265487236 -104.96009051799774,39.74316428375109 -104.95895862579346,39.74350251637351 -104.95895862579346,39.74350251637351 -104.94109511375427,39.74377062667071 -104.94064809999998,39.707593 -104.94056940078735,39.71219659344454 -104.94062304496765,39.73016169331405 -104.94062036275864,39.73711087652619 -104.94078397750854,39.74018611509486 -104.9781499,39.7401722 -104.99110221862793,39.74328802758604 -104.99050829999999,39.7428701 -104.98829126358032,39.74547413202817 -104.99693870544434,39.75225473927719 -105.00033380000002,39.7506546 -104.9958872795105,39.754481800432515 -104.99119210000003,39.7543157 -104.98791575431824,39.751256662580026 -104.98734712600708,39.75011009381583 -104.98737931251526,39.74344476945796 -104.98623132705688,39.74330865153693
这是配置: prefSpeedInTown- 0 prefSpeedOutTown- 0 tollRoads-假 avoidFerries-假 highWays- false
路线模式:RouteMode.EFFICIENT