[Bug] The summary chip covers the zoom controls in the map app.

Aperta Adatta ai principianti
#307 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
80/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
frontend

Direzione di ricerca

Inizia dall’app di mappe in ui://mapbox/map-app/index.html e controlla come sono posizionati il chip di riepilogo e i controlli dello zoom. Regola la posizione del chip in modo che non copra più i controlli, quindi verifica che i pulsanti + e − rimangano visibili e cliccabili quando è presente un riepilogo.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug
What happened?

The map app puts the summary chip and the zoom control in the same top-left corner, and the chip covers the + and − buttons whenever a map has a summary. That is their ui://mapbox/map-app/index.html. This app only supplies the text.

Moving the chip to the top center, or starting it to the right of the control, would leave the buttons usable.

Steps to Reproduce
  1. Connect an MCP Apps host to the Mapbox MCP server and call render_map_tool with a summary and at least one layer or marker. For example, summary set to 508.5 km, 936 min and one short line layer.
  2. Open the map. The summary chip is in the top-left, on top of the zoom control.
  3. Click the + button where the chip covers it. The map does not zoom. The click lands on the chip.
  4. Call render_map_tool again with the same layer and no summary. The + button is clear and zoom works.
Expected Behavior

The zoom buttons should be clickable and visible.

Version

No response

MCP Client

No response

Additional Context

No response

Lingua principale
TypeScript
Stelle
363
Fork
44
Merge medio
18h 30m
PR unite (30g)
24

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di mapbox/mcp-server

Tutte le issue di mapbox/mcp-server

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.