Skip to content

Commit

Permalink
Update example and changeLog
Browse files Browse the repository at this point in the history
  • Loading branch information
ShanMa1991 committed Oct 4, 2022
1 parent d649164 commit 01c8afe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

* `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))
* 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))
* Added `NavigationMapView.showsIntersectionSignalsOnRoutes` to annotate traffic control devices along the current route line. ([#4185](https://github.com/mapbox/mapbox-navigation-ios/pull/4185))

### Banners and guidance instructions

Expand Down
1 change: 1 addition & 0 deletions Example/AppDelegate+CarPlay.swift
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ extension AppDelegate: CarPlayManagerDelegate {
// Render part of the route that has been traversed with full transparency, to give the illusion of a disappearing route.
navigationViewController.routeLineTracksTraversal = true
navigationViewController.navigationMapView?.showsRestrictedAreasOnRoute = true
navigationViewController.navigationMapView?.showsIntersectionSignalsOnRoutes = true

// Example of building highlighting in 3D.
navigationViewController.waypointStyle = .extrudedBuilding
Expand Down
1 change: 1 addition & 0 deletions Example/ViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,7 @@ class ViewController: UIViewController {
self.navigationMapView = nil
self.passiveLocationManager = nil
navigationViewController.navigationMapView?.showsRestrictedAreasOnRoute = true
navigationViewController.navigationMapView?.showsIntersectionSignalsOnRoutes = true

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

0 comments on commit 01c8afe

Please sign in to comment.