Skip to content

Commit 01c8afe

Browse files
committed
Update example and changeLog
1 parent d649164 commit 01c8afe

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
* `NavigationMapView.removeAlternativeRoutes()` and `NavigationMapView.removeContinuousAlternativeRoutesDurations()` were made public to provide a way to remove previously shown alternative routes and alternative routes duration annotations, respectively. ([#4134](https://github.com/mapbox/mapbox-navigation-ios/pull/4134))
2222
* Fixed an issue where tapping on a route duration annotation that overlaps a different route would cause the wrong route to be passed into `NavigationMapViewDelegate.navigationMapView(_:didSelect:)` or `NavigationMapViewDelegate.navigationMapView(_:didSelect:)`. ([#4133](https://github.com/mapbox/mapbox-navigation-ios/pull/4133))
23+
* Added `NavigationMapView.showsIntersectionSignalsOnRoutes` to annotate traffic control devices along the current route line. ([#4185](https://github.com/mapbox/mapbox-navigation-ios/pull/4185))
2324

2425
### Banners and guidance instructions
2526

Example/AppDelegate+CarPlay.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ extension AppDelegate: CarPlayManagerDelegate {
9292
// Render part of the route that has been traversed with full transparency, to give the illusion of a disappearing route.
9393
navigationViewController.routeLineTracksTraversal = true
9494
navigationViewController.navigationMapView?.showsRestrictedAreasOnRoute = true
95+
navigationViewController.navigationMapView?.showsIntersectionSignalsOnRoutes = true
9596

9697
// Example of building highlighting in 3D.
9798
navigationViewController.waypointStyle = .extrudedBuilding

Example/ViewController.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -666,6 +666,7 @@ class ViewController: UIViewController {
666666
self.navigationMapView = nil
667667
self.passiveLocationManager = nil
668668
navigationViewController.navigationMapView?.showsRestrictedAreasOnRoute = true
669+
navigationViewController.navigationMapView?.showsIntersectionSignalsOnRoutes = true
669670

670671
// Animate top and bottom banner views presentation.
671672
navigationViewController.navigationView.bottomBannerContainerView.show(duration: 1.0,

0 commit comments

Comments
 (0)