mapbox / mapbox/mapbox-directions-swift

RouteStep "names" property is nil for walking directions

Open
#783 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
206
Forks
99
Avg merge
7h 54m
Merged PRs (30d)
3

Description

For other profiles such as cycling or driving, the "names" property of a RouteStep object will be the road or path leading to the next maneuver. However, when using the walking profile, the "names" property is always nil. This seems like a bug?

Along the same lines, the "instructions" property for RouteStep also doesn't include the next road/path when using the walking profile, while it does for other profiles.

Driving Instructions:
![image](https://user-images.githubusercontent.com/4663579/210284468-8205c163-b4cd-4679-92e8-b34ab890e6f7.png)

Walking instructions:
![image](https://user-images.githubusercontent.com/4663579/210284484-39ad8022-cdba-45e8-92c2-bf5fd73094a1.png)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing a walking route and inspecting the RouteStep "names" and "instructions" properties, then compare the results with cycling or driving directions. Done means walking steps include the road or path leading to the next maneuver in both properties, consistently with the other profiles.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.