You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
English description:
Enter the start point and end point for simulated navigation, and execute the end navigation service when the simulated navigation reaches the end point.
Enter the same starting point and the same end point again for simulated navigation, simulate the navigation page, and the navigation data returns an exception (remaining distance, remaining time).
Sample code:
For the first simulated navigation, enter the starting point "Hubei University" and the end point "Wuhan Tiandi". At this time, the navigation data navigationService returns to normal, and the system didArrive callback is performed after reaching the end point.
func navigationViewController(_ navigationViewController: NavigationViewController, didArriveAt waypoint: Waypoint) -> Bool {} in the callback execution navigationViewController. NavigationService. Stop ()
Then simulate navigation for the second time, enter the starting point "Hubei University" and the end point "Wuhan Tiandi", and the navigation data navigationService returns an exception. The navigationService navigationService. RouteProgress. CurrentLegProgress. CurrentStepProgress. DistanceRemaining and navigationSer Vice. RouteProgress. DistanceRemaining return values are wrong.
This is a technical repo for integrating a native dependency through package managers.
The issue should be sent to https://github.com/mapbox/mapbox-navigation-ios
In any case, also pinged the right team.
English description:
Enter the start point and end point for simulated navigation, and execute the end navigation service when the simulated navigation reaches the end point.
Enter the same starting point and the same end point again for simulated navigation, simulate the navigation page, and the navigation data returns an exception (remaining distance, remaining time).
Sample code:
For the first simulated navigation, enter the starting point "Hubei University" and the end point "Wuhan Tiandi". At this time, the navigation data navigationService returns to normal, and the system didArrive callback is performed after reaching the end point.
func navigationViewController(_ navigationViewController: NavigationViewController, didArriveAt waypoint: Waypoint) -> Bool {} in the callback execution navigationViewController. NavigationService. Stop ()
Then simulate navigation for the second time, enter the starting point "Hubei University" and the end point "Wuhan Tiandi", and the navigation data navigationService returns an exception. The navigationService navigationService. RouteProgress. CurrentLegProgress. CurrentStepProgress. DistanceRemaining and navigationSer Vice. RouteProgress. DistanceRemaining return values are wrong.
简体中文描述:
输入起始点和终点进行模拟导航,当模拟导航到达终点后执行结束导航服务。
再次输入同样的起始点和同样的终点进行模拟导航,进行模拟导航页,导航数据返回异常(剩余距离、剩余时间)。
示例代码:
第一次模拟导航,输入起始点“湖北大学”,终点“武汉天地”,此时导航数据navigationService返回正常,到达终点后进行系统didArrive回调。
func navigationViewController(_ navigationViewController: NavigationViewController, didArriveAt waypoint: Waypoint) -> Bool {}在回调中执行navigationViewController.navigationService.stop()
然后第二次模拟导航,输入起始点“湖北大学”,终点“武汉天地”,此时导航数据navigationService返回异常,navigationService的navigationService.routeProgress.currentLegProgress.currentStepProgress.distanceRemaining和navigationService.routeProgress.distanceRemaining返回值都是错误的。
The text was updated successfully, but these errors were encountered: