Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issues related to routeLineTracksTraversal usage and custom delegate methods for route line modification. #3744

Conversation

MaximAlien
Copy link
Contributor

@MaximAlien MaximAlien commented Feb 15, 2022

Closing #2967.

In scope of this PR:

  • Bug, which was causing inability to modify main route line and its casing when routeLineTracksTraversal is enabled on iOS and CarPlay was fixed.
  • Delegate methods, which provide the ability to modify route line layer and its casing on CarPlay were added.

/cc @ChristianSteffens

@MaximAlien MaximAlien added bug Something isn’t working UI Work related to visual components, Android Auto, Camera, 3D, voice, etc. CarPlay Bugs, improvements and feature requests on Apple CarPlay labels Feb 15, 2022
@MaximAlien MaximAlien requested a review from a team February 15, 2022 01:45
@MaximAlien MaximAlien self-assigned this Feb 15, 2022
@MaximAlien MaximAlien marked this pull request as draft February 15, 2022 01:48
@MaximAlien MaximAlien force-pushed the maxim/2967-fix-route-line-tracks-traversal-when-custom-line-layer-is-used branch 3 times, most recently from 9e691b8 to b667789 Compare February 18, 2022 21:49
…LineTracksTraversal` is enabled on iOS and CarPlay. Add delegate methods, which provide the ability to modify route line layer and its casing on CarPlay.
@MaximAlien MaximAlien force-pushed the maxim/2967-fix-route-line-tracks-traversal-when-custom-line-layer-is-used branch from b667789 to c1ca445 Compare March 25, 2022 23:26
@MaximAlien MaximAlien marked this pull request as ready for review March 26, 2022 01:46
@mapbox-github-ci-issues-public-1

No breaking changes detected in MapboxCoreNavigation

@mapbox-github-ci-issues-public-1

Breaking Changes in MapboxNavigation

Breaking API Changes

CarPlayMapViewController

  • modified method: navigationMapView(_:routeLineLayerWithIdentifier:sourceIdentifier:) in CarPlayMapViewController
    Type of change: Declaration
    From: <Self where Self : NavigationMapViewDelegate> (Self) -> (NavigationMapView, String, String) -> LineLayer?
    To: (CarPlayMapViewController) -> (NavigationMapView, String, String) -> LineLayer?
  • modified method: navigationMapView(_:routeCasingLineLayerWithIdentifier:sourceIdentifier:) in CarPlayMapViewController
    Type of change: Declaration
    From: <Self where Self : NavigationMapViewDelegate> (Self) -> (NavigationMapView, String, String) -> LineLayer?
    To: (CarPlayMapViewController) -> (NavigationMapView, String, String) -> LineLayer?

@mapbox-github-ci-issues-public-1

No breaking changes detected in MapboxCoreNavigation

@mapbox-github-ci-issues-public-1

Breaking Changes in MapboxNavigation

Breaking API Changes

CarPlayMapViewController

  • modified method: navigationMapView(_:routeCasingLineLayerWithIdentifier:sourceIdentifier:) in CarPlayMapViewController
    Type of change: Declaration
    From: <Self where Self : NavigationMapViewDelegate> (Self) -> (NavigationMapView, String, String) -> LineLayer?
    To: (CarPlayMapViewController) -> (NavigationMapView, String, String) -> LineLayer?
  • modified method: navigationMapView(_:routeLineLayerWithIdentifier:sourceIdentifier:) in CarPlayMapViewController
    Type of change: Declaration
    From: <Self where Self : NavigationMapViewDelegate> (Self) -> (NavigationMapView, String, String) -> LineLayer?
    To: (CarPlayMapViewController) -> (NavigationMapView, String, String) -> LineLayer?

@mapbox-github-ci-issues-public-1

No breaking changes detected in MapboxCoreNavigation

@mapbox-github-ci-issues-public-1

Breaking Changes in MapboxNavigation

Breaking API Changes

CarPlayMapViewController

  • modified method: navigationMapView(_:routeCasingLineLayerWithIdentifier:sourceIdentifier:) in CarPlayMapViewController
    Type of change: Declaration
    From: <Self where Self : NavigationMapViewDelegate> (Self) -> (NavigationMapView, String, String) -> LineLayer?
    To: (CarPlayMapViewController) -> (NavigationMapView, String, String) -> LineLayer?
  • modified method: navigationMapView(_:routeLineLayerWithIdentifier:sourceIdentifier:) in CarPlayMapViewController
    Type of change: Declaration
    From: <Self where Self : NavigationMapViewDelegate> (Self) -> (NavigationMapView, String, String) -> LineLayer?
    To: (CarPlayMapViewController) -> (NavigationMapView, String, String) -> LineLayer?

@MaximAlien MaximAlien merged commit 2f45ba2 into main Mar 28, 2022
@MaximAlien MaximAlien deleted the maxim/2967-fix-route-line-tracks-traversal-when-custom-line-layer-is-used branch March 28, 2022 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn’t working CarPlay Bugs, improvements and feature requests on Apple CarPlay UI Work related to visual components, Android Auto, Camera, 3D, voice, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants