mapbox / mapbox/mapbox-navigation-android
Can not navigation with cycling in android
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

### 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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