-
Notifications
You must be signed in to change notification settings - Fork 318
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
Migrate to nav-native’s route following #1904
Conversation
|
||
|
||
@objc(MBPortableRouteController) | ||
open class PortableRouteController: RouteController { | ||
open class PortableRouteController: NSObject { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is an exciting change. What is going to happen with the existing RouteController
as a part of this PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally, we would just delete it, but I assume we have to deprecate it. 🤔
be63205
to
ff9afb3
Compare
3f03b69
to
19c5c7e
Compare
f01ee4e
to
f8ffa59
Compare
f8ffa59
to
db79d6b
Compare
Test arrive maneuver icon Don't annouce spoken instruction if we are going to reroute Update test fixtures
c7c4a9e
to
7fb49c2
Compare
0cecb38
to
40f2e7e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great except for this one thing
MapboxCoreNavigation/Router.swift
Outdated
- parameter route: The route to follow. | ||
- parameter directions: The Directions object that created `route`. | ||
- parameter source: The data source for the RouteController. | ||
*/ | ||
@objc(initWithRoute:directions:locationManager:) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
initWithRoute:directions:dataSource:
19856e6
to
d4a96d1
Compare
The backwards-incompatible label was added in part because the “renaming” of LegacyRouteController to RouteController isn’t a one-for-one replacement. For example, the following change hasn’t been documented:
|
This PR further adopts NavigationNative for route following.
The old
RouteController
has been renamed toLegacyRouteController
and is now deprecated.Migrating to MapboxNavigationNative’s route following logic.
cc @JThramer