mapbox / mapbox/mapbox-navigation-ios

Text layers from Nav SDK should pick up font stack from map style road label layer

Open
#2,994 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

jira-sync-complete
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

Open the contributing guide

First steps

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.