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

Stick to similar alternative route when re-routed #3333

Open
kmadsen opened this issue Jul 13, 2020 · 2 comments
Open

Stick to similar alternative route when re-routed #3333

kmadsen opened this issue Jul 13, 2020 · 2 comments
Labels
Core Work related to core navigation and integrations. feature New feature request. jira-sync-complete platform parity Required to keep on par with iOS.

Comments

@kmadsen
Copy link
Contributor

kmadsen commented Jul 13, 2020

Steps to reproduce

  1. Request a route with alternatives
  2. Select an alternative (not the fastest)
  3. Drive off route
  4. Stay on route similar to the original alternative

References to similar issues

Legacy feature request #764
Algorithm investigation #3116
Conclusions for comparing routes for Faster Route, route compare #3301

@Guardiola31337 Guardiola31337 added Core Work related to core navigation and integrations. feature New feature request. labels Jul 15, 2020
@1ec5 1ec5 added the platform parity Required to keep on par with iOS. label Nov 15, 2021
@1ec5
Copy link
Contributor

1ec5 commented Nov 15, 2021

As noted in mapbox/mapbox-navigation-ios#3598, sometimes the user doesn’t want to preserve their original selection. Since we can’t automatically know the user’s intent when they deviate from the route, the UI can offer the user a way to explicitly switch to a different route, “unsticking” from the original selection.

@1ec5
Copy link
Contributor

1ec5 commented Nov 30, 2021

Per mapbox/mapbox-navigation-ios#3597 (comment), any route similarity heuristic, whether based on names or geometry, should also have a minimum similarity threshold. It’s important to avoid situations where a completely different route gets selected over a more optimal route just because of nominal similarity to the original selection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core Work related to core navigation and integrations. feature New feature request. jira-sync-complete platform parity Required to keep on par with iOS.
Projects
None yet
Development

No branches or pull requests

4 participants