mapbox / mapbox/mapbox-navigation-android

Connect multiple NavigationRoutes

Open
#6,971 1 comment 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

Hello, please is it possible to create a single NavigationRoute from multiple NavigationRoutes?
Im trying to work around a 25 waypoint limit with multiple calls to MapboxNavigation.requestRoutes(), but I'm not sure how to go about actually creating a turn-by-turn navigation with this approach using methods like
setNavigationRoutes renderRouteDrawData.
Sure I can draw simple polyline with geometry from all computed routes, but that alone does not solve my problem.
Is there anything already implemented to help in this case, or some possible workaround?

using
com.mapbox.maps:android:10.10.2 ``com.mapbox.navigation:android:2.10.2
Thank you.

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 MapboxNavigation.requestRoutes(), setNavigationRoutes, and renderRouteDrawData in the Android Navigation SDK version 2.10.2. Determine whether multiple route responses can support one turn-by-turn navigation session rather than only drawing combined geometry; done would be a documented supported approach or a clearly identified limitation and workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.