mapbox / mapbox/mapbox-gl-directions
Accessing styling for each part of the route.
Open
Nobody has claimed this yet.
auto-triaged
enhancement
- Dominant language
- JavaScript
- Stars
- 255
- Forks
- 130
- PR merge metrics
- No merged PRs in 30d
Description
Is it possible to access for each part (step) of the route? For example, how would I go about turning a drive down Townsend Street to red, and a drive down The Embarcadero to purple? This would be somewhat like how Google Maps shows traffic by coloring.
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
No files, tests, or entry points are named. Start by locating the plugin's route-rendering entry point and reviewing how the Directions API route is represented; done would require a clear, documented way to style individual route steps with distinct colors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100