mapbox / mapbox/mapbox-navigation-android

NavigationView: Adjust MapboxNavigationOptions at runtime

Open
#3,058 5 comments 0 reactions 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

Mapbox Navigation SDK version: 0.42.6

Actual behavior

Hey, I only can set the MapboxNavigationOptions for the NavigationView with startNavigation. But I have a few situations where it would be nice to adjust a few parameters without restarting the whole navigationview.

Expected behavior

Ability to adjust the following (or all?) settings:
.offRouteThreshold()
.intersectionRadiusForOffRouteDetection()
.offRouteThresholdWhenNearIntersection()
.roundingIncrement()

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 with NavigationView and the MapboxNavigationOptions passed to startNavigation. Determine how the listed off-route and rounding settings could be adjusted while navigation remains running; done means those settings can change without restarting the NavigationView.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.