Customizing or hiding `road` style is not possible
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
I'm not sure which repo this should go to, but we discovered in the global OpenStreetMap community, that Mapbox's `road` style, imported from OpenStreetMap's `highway=road`, can't be overridden or hidden in Mapbox.
- https://wiki.openstreetmap.org/wiki/Tag:highway%3Droad
- https://docs.mapbox.com/data/tilesets/reference/mapbox-streets-v8/#road
- https://community.openstreetmap.org/t/rfc-deprecating-highway-road-in-favor-of-highway-unknown/118864/14
### Expected Behavior
The `road` style should either have a distinct appearance compared to other roads or be hidden by renderers.
### Actual Behavior
The `road` style cannot be overridden or hidden and appears the same as other minor roads.
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 reading the Mapbox Streets v8 documentation linked in the issue and tracing how the `highway=road` value reaches Mapbox GL JS rendering. Confirm whether the renderer or source data prevents overriding or hiding this style, then verify that the road style can be distinguished or suppressed without changing other minor roads.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- design, frontend, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100