mapbox / mapbox/mapbox-navigation-android

Supprot exclude multiple types or add more routing profiles

Open
#3,844 6 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

**Android API:29**
**Mapbox Navigation SDK version:1.2.0**

### Actual behavior
Hi Mapbox team,
Our vehicle is a commercial vehicle,and we need to routes avoid roads where commercial vehicles are not permitted.
Currently,we have to request [directions api](https://docs.mapbox.com/api/navigation/#directions)with profile=mapbox/driving-traffic and exclude=toll(the exclude option only can be one of toll,motorway and ferry).The route is not very suitable for our needs sometimes.

### Expected behavior
Do we have plan to add routing profiles(eg.profile=mapbox/driving-commercial) or exclude multiple types in one request.(eg exclude=toll,motorway,ferry)?

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 the linked Directions API documentation and the Android API 29/Navigation SDK 1.2.0 context. Compare the current single-value exclude behavior with the requested commercial routing profile or multiple exclusions; done when the supported request behavior and expected routing result are established.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.