Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

render_map_tool: fullscreen button

Aperta
#286 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à
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
56/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
frontend

Direzione di ricerca

Start by reading the render_map_tool controls and the host-context-changed handling that tracks currentDisplayMode; the issue does not name specific files or tests. Check how the app requests display modes and handles host changes, then verify the button is hidden when unsupported and that fullscreen resizes the map, refits it, and uses the side list.

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

Descrizione

enhancement

Problem

The page tracks the host's display mode (currentDisplayMode, from ui/notifications/host-context-changed), but users have no way to ask for a bigger map. Inline maps are about 500 px tall, which is tight for routes across a city or for a list of results.

Proposal

Add a fullscreen button in the top-left controls, under Satellite/Traffic (#278). It requests the fullscreen display mode from the host (MCP Apps display-mode request; in ChatGPT, requestDisplayMode). When the host says the mode changed, the map resizes and refits, and the side list (#262) has room to open.

Notes

  • Hide the button when the host doesn't support display-mode requests.
  • In fullscreen, use the side list rather than the bottom carousel (see #283).
Lingua principale
TypeScript
Stelle
363
Fork
45
Merge medio
1g 1h
PR unite (30g)
22

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.