mapbox / mapbox/mapbox-gl-js

Create a "routing" label placement mode

Open
#3,992 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

cross-platform :tv: feature :green_apple:
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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.