mapbox / mapbox/mapbox-navigation-android

Drop-In UI: Disable snap to road in FreeDrive

Open
#6,674 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
651
Forks
321
PR merge metrics
No merged PRs in 30d

Description

In our current project my team and I really would need some functionality to customize the location in Free Drive mode.

Specifically, it would be amazing, if we could somehow disable snapping to roads or enhancing the location all together.
Alternatively it would suffice to have a possibility or interface to override the location provider, that the navigationView uses.

We already are able to somewhat overwrite the location provider for the map, so that the location puck displays the raw location. But the navigationView still uses another internal location provider to calculate its camera movement etc.

Thank you for any help!

**Android API:** 33
**Mapbox Navigation SDK version:** 10.9.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the FreeDrive NavigationView location-provider path, alongside the existing map location-provider override described in the issue. Clarify whether the supported outcome is disabling road snapping and enhancement or overriding the provider, then verify the behavior on Android API 33 with SDK 10.9.0.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile, mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.