I was exploring MapBox Direction API using Walking profile and experienced the following issue
Steps to trigger behavior
Make a Direction API call using below request
Start navigation on route that has left/right turns (e.g. "Turn left onto walkway in 300 feet") or direction specific instruction (e.g. "Walk North for 300 feet")
After covering 1 or 2 milestones, navigate backward towards the starting point of the route.
Mapbox shall provide updated instruction accordingly. For example, if navigation instruction in forward navigation is "Turn left onto walkway" then in backward navigation, the instruction shall be "Turn right onto walkway"
Mapbox shall provide updated instruction accordingly. For example, if navigation instruction in forward navigation is "Walk North" then in backward navigation, the instruction shall be "Walk South"**
Actual behavior
Mapbox does not provide updated directions/turns in navigation instruction if user navigates backward on the route.
For example, if navigation instruction in forward navigation is "Turn left onto walkway" then in backward navigation, the instruction is same and does not change.
I checked this scenario in Google and found working as expected. Please let me know if this is a bug in MapBox Direction API or am I missing any configuration in my code?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Android API:29 Mapbox Maps SDK version:9.6.1 Mapbox Navigation UI SDK version:1.5.1
I was exploring MapBox Direction API using Walking profile and experienced the following issue
Steps to trigger behavior
Location - Chicago, USA Direction API Request
Start Coordinate - 41.893196, -87.636569 Destination Coordinate - 41.883301, -87.635309 ` val walking: WalkingOptions = WalkingOptions.builder().alleyBias(1.0).walkwayBias(1.0).build()
mapboxNavigation.requestRoutes( RouteOptions.builder() .accessToken(accessToken) .baseUrl(RouteUrl.BASE_URL) .user(RouteUrl.PROFILE_DEFAULT_USER) .requestUuid("") .coordinates(listOf(coordinateList.first(), coordinateList.last())) .geometries(RouteUrl.GEOMETRY_POLYLINE6) .profile(RouteUrl.PROFILE_WALKING) .steps(true) .overview(RouteUrl.OVERVIEW_FULL) .bannerInstructions(true) .walkingOptions(walking) .build(), routesReqCallback )
`
Expected behavior
**If user moves backward on route, then
Actual behavior
Mapbox does not provide updated directions/turns in navigation instruction if user navigates backward on the route. For example, if navigation instruction in forward navigation is "Turn left onto walkway" then in backward navigation, the instruction is same and does not change.
I checked this scenario in Google and found working as expected. Please let me know if this is a bug in MapBox Direction API or am I missing any configuration in my code?