Create a "routing" label placement mode
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
migrated from https://github.com/mapbox/DEPRECATED-mapbox-gl/issues/1
... or perhaps create a custom label placement plugin API
> @ansis:
> Dynamically adapting what labels are shown and how they look based on a route.
>
> For example:
> - making roads used by the route have bigger labels
> - deemphasizing roads that don't cross the route
> - placing labels for intersecting roads close to the intersection
> - adding pois near turns to make them easier to identify
>
> I don't think this would be entirely implemented within core mapbox gl but we would need to implement some apis to make this possible.
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 with the migrated issue discussion and review the project's existing label-placement extension points. Done means defining and implementing a routing mode or plugin API that supports route-aware label visibility, emphasis, placement, and nearby POIs, with the scope of the core changes made explicit.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100