Toggle visibility of road-number-shield moves the shield below the road instead of invisible
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
mapbox-gl-js version:
v3.13.0
browser:
Chrome Version 137.0.7151.120 (Official Build) (arm64)
### Steps to Trigger Behavior
1. Create new style and click on +, select components -> Road Network
2. Zoom in to a level where you can see highway shields.
3. Expand the road-labels layer and select road-number-shields
4. Toggle 'v' to see the behavior
### Expected Behavior
Shields appear/disappear
### Actual Behavior
Shields go from rendered above the highway to below it
Contributor guide
Research direction
Reproduce the issue in the style editor using the listed steps, focusing on the road-labels and road-number-shields layers and their visibility toggle. Trace the rendering behavior for the shield layer and verify that toggling it makes shields disappear or reappear without moving them below the highway.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100