mapbox / mapbox/mapbox-navigation-ios
Text layers from Nav SDK should pick up font stack from map style road label layer
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 918
- Forks
- 326
- Avg merge
- 1h 16m
- Merged PRs (30d)
- 3
Description
As we add more UI elements via symbol style layers to the Nav SDK Map style, we should default to using the font stack specified in the road label layer as what is used for any text.
Current examples of Map UI include:
- Route Duration Annotations: https://github.com/mapbox/mapbox-navigation-ios/pull/2873/
- Intersection Annotations via Electronic Horizon: https://github.com/mapbox/mapbox-navigation-ios/pull/2928
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 reviewing the Nav SDK Map style's road label layer and the Route Duration Annotations and Intersection Annotations examples linked in the issue. Trace how their symbol style layers obtain fonts, then make text layers default to the road label font stack. Done means UI text consistently uses that map-style font stack.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100