render_map_tool: show and pick route alternatives on the map
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 55/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- typescript
Research direction
Find the render_map_tool page code that draws the selected route and handles selfFetchDirections; start by tracing how it receives route alternatives when alternatives: true is set. Add map selection for the gray alternative lines and update the summary chip with the selected route’s duration, distance, and driving traffic summary. Done when users can see and select alternatives on the map; the optional time labels can be treated as follow-up scope.
Written by the indexing model from the issue text.
Description
Problem
directions_tool can return alternatives, and the map already draws the route at selectedRouteIndex, but the user can't see or choose between the alternatives on the map. Picking one means asking the model to re-render.
Proposal
- Draw the alternatives as gray lines under the selected route.
- Clicking one selects it: highlight it, and update the summary chip with its duration and distance (and its traffic summary when the profile is
driving-traffic). - Optional: show a small label on each alternative, for example "+4 min".
Notes
- The page already fetches the routes itself (
selfFetchDirections), so the alternatives are in hand whenalternatives: trueis set. No new API calls are needed. - The model doesn't learn which route the user picked; see #287.
- Dominant language
- TypeScript
- Stars
- 363
- Forks
- 45
- Avg merge
- 22h 36m
- Merged PRs (30d)
- 20
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from mapbox/mcp-server
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
mapbox/mcp-server#299 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
mapbox/mcp-server#289 · 2 comments ·
Maintainers usually reply within 1 day
-
render_map_tool: smaller map ideas (isochrone slider, 3D tilt, night lighting, traffic refresh)Openenhancement
Difficulty 4/5 3-5 days Newbie friendliness 42/100
mapbox/mcp-server#288 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
mapbox/mcp-server#287 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 56/100
mapbox/mcp-server#286 ·
Maintainers usually reply within 1 day
All issues in mapbox/mcp-server
Similar issues
-
a10y a10y-audit ai-driven-qa claude
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
linagora/twake-directory-manager#219 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
0️⃣ phase/new
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
Pulse v7: buildPreferencesFromTelos() bypasses telosSectionOrFile(), renders empty on unified-TELOS installsPossibly taken @zephyr91 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
danielmiessler/LifeOS#2393 ·
Maintainers usually reply within 4 days