mapbox / mapbox/mapbox-navigation-android

Can not navigation with cycling in android

Open
#7,262 0 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:**
**Mapbox Navigation SDK version:**com.mapbox.navigation:ui:1.6.2
![photo_2023-06-13_20-48-53](https://github.com/mapbox/mapbox-navigation-android/assets/133941745/8e39a664-1e69-49a6-b87d-99436fe36bf1)
### Steps to trigger behavior

1. call api: https://api.mapbox.com/directions/v5/mapbox/cycling/105.820716,21.00217021;105.781069,20.968945?access_token=MY_TOKEN&overview=full&geometries=polyline6&alternatives=true&continue_straight=true&language=en&voice_instructions=true&banner_instructions=true&voice_units=metric&steps=true
2. using DirectionsRoute.fromJson(directionsRouteAsJson)
3. Start navigation, but map only stand still and it does not show step for me

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 reproducing the cycling route request from the Directions API using the supplied coordinates and then trace how DirectionsRoute.fromJson(directionsRouteAsJson) is passed into navigation in Mapbox Navigation SDK 1.6.2. Compare the behavior with the expected route and step display; done means cycling navigation moves correctly and shows the route steps.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
api, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.