File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments