render_map_tool: show and pick route alternatives on the map
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 55/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
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 の本文から書いたものです。
説明
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.
- 主要言語
- TypeScript
- スター
- 363
- フォーク
- 45
- 平均マージ
- 1日 1時間
- マージ済み PR(30日)
- 22
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
mapbox/mcp-server のほかの issue
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
mapbox/mcp-server#299 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
mapbox/mcp-server#289 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
render_map_tool: smaller map ideas (isochrone slider, 3D tilt, night lighting, traffic refresh)オープンenhancement
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
mapbox/mcp-server#288 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
mapbox/mcp-server#287 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 56/100
mapbox/mcp-server#286 ·
メンテナーはふだん 1 日以内に返信
mapbox/mcp-server の issue をすべて見る
似ている issue
-
calcite-ui-icons enhancement impact - p3 - not time sensitive needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
Esri/calcite-design-system#15467 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
diegosouzapw/OmniRoute#18390 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 1/5 1〜3時間 初心者へのやさしさ 86/100
guilhermerodz/input-otp#157 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
davidjerleke/embla-carousel#1414 ·
メンテナーはふだん 4 日以内に返信