mapbox / mapbox/mapbox-navigation-ios
Provide the ability to change shaft length while adding maneuver arrow.
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 918
- Forks
- 326
- Avg merge
- 1h 16m
- Merged PRs (30d)
- 3
Description
`NavigationMapView.addArrow(route:legIndex:stepIndex:)` provides the ability to show maneuver arrow along the route for specific leg/step. At the same time there is a problem with maneuver arrow shaft length, which will always stay the same, this will cause issues on different zoom levels. In scope of this ticket this problem should be fixed.
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 with NavigationMapView.addArrow(route:legIndex:stepIndex:) and trace how the maneuver arrow shaft is created and sized. Check the existing navigation UI tests or examples around this API, then verify that shaft length can vary appropriately across zoom levels and that the existing arrow behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100