mapbox / mapbox/mapbox-gl-traffic

Street labels aren't on top for version 11 of mapbox streets

Open
#11 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
108
Forks
36
PR merge metrics
No merged PRs in 30d

Description

In mapbox-streets-v11 the labels are part of the `road` source-layer. Hence, when the traffic layer is being added, the `road-label` layer is defined before the traffic layers in de map's style. I added some images as proof and also what is being shown on the map.

![image](https://user-images.githubusercontent.com/28532087/103350013-ea3bae00-4a9e-11eb-9275-1fa3227b1ad6.png)
![image](https://user-images.githubusercontent.com/28532087/103350054-02abc880-4a9f-11eb-8822-1adb8e0222c6.png)

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 at the code that adds the traffic layers to the map style and reproduce the issue with mapbox-streets-v11, checking the ordering of the road-label layer. Done means street labels render above the traffic layers when the traffic layer is enabled; the issue does not name a file or test to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.