Skip to content

Commit f0e2b59

Browse files
committed
Fix the continuous routes remaint
1 parent 7d37584 commit f0e2b59

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Example/ViewController.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class ViewController: UIViewController {
7272
// Show congestion levels on alternative route lines if there're multiple routes in the response.
7373
navigationMapView.showsCongestionForAlternativeRoutes = true
7474
navigationMapView.showsRestrictedAreasOnRoute = true
75-
navigationMapView.show(routeResponse)
75+
navigationMapView.showcase(routeResponse)
7676
navigationMapView.showWaypoints(on: prioritizedRoutes.first!)
7777
navigationMapView.showRouteDurations(along: prioritizedRoutes)
7878
}
@@ -223,6 +223,7 @@ class ViewController: UIViewController {
223223
navigationMapView?.removeRoutes()
224224
navigationMapView?.removeRouteDurations()
225225
navigationMapView?.removeWaypoints()
226+
navigationMapView?.removeContinuousAlternativesRoutes()
226227

227228
waypoints.removeAll()
228229
}

0 commit comments

Comments
 (0)