mapbox / mapbox/mapbox-navigation-android
Set OffRouteObserver distance
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 651
- Forks
- 321
- PR merge metrics
- No merged PRs in 30d
Description
Hello, a question :
Is it possible to set the (cross track) distance for the offroute observer between route and current location to detect off route state? Or alternatively to get the distance the observer detected ?
I also see that in [earlier versions](https://docs.mapbox.com/android/navigation/api/core/0.42.6/com/mapbox/services/android/navigation/v5/navigation/MapboxNavigation.html#setOffRouteEngine-com.mapbox.services.android.navigation.v5.offroute.OffRoute-) is was possible to provide a custom OffRouteObserver, I don't see this option any longer. Is it somewhere ?
Thank you
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source files or tests are named. Start by reviewing the current off-route observer API and implementation, then compare it with the linked 0.42.6 documentation. The work is complete when the supported way to set or retrieve off-route distance, and the status of custom observers, is clearly established or specified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- api, mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100