Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

render_map_tool: show and pick route alternatives on the map

オープン
#285 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
55/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript
領域
frontend, web-dev

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

enhancement

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 when alternatives: true is set. No new API calls are needed.
  • The model doesn't learn which route the user picked; see #287.
主要言語
TypeScript
スター
363
フォーク
45
平均マージ
1日 1時間
マージ済み PR(30日)
22

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

mapbox/mcp-server のほかの issue

mapbox/mcp-server の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。