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

Stamen map types and overlays don't load anymore

Chiusa
#52 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@afarber ci sta già lavorando.

Dal 13/10/2026.

  • #56 di @afarber — aperta

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
50/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
android, kotlin

Direzione di ricerca

Start with the MapType.STAMEN_TONER and MAP_TYPES.md entries, then PredefinedTileProviders.stamenTonerHybrid() and stamenTerrainLines(), and see how ApiKeyManager handles Thunderforest and Tracestrack today. Done means both Stamen map types and the two overlays use Stadia sources with an api_key parameter, the overlay shows the "API key required" message when the key is missing, and MAP_TYPES.md is updated. Confirm the key-handling choices with the maintainer first.

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

Descrizione

Two related problems with the Stamen tiles:

  1. MapType.STAMEN_TONER and MapType.STAMEN_WATERCOLOR use tiles.stadiamaps.com, but Stadia answers 401 without an API key for anything that isn't a browser on an allowed domain. So in an app these map types show nothing.
  2. PredefinedTileProviders.stamenTonerHybrid() and stamenTerrainLines() still point to stamen-tiles.a.ssl.fastly.net, which Stamen shut down in 2023 (it answers 503 now).

Idea for a fix:

  • Add a "stadia" provider to ApiKeyManager (manifest key STADIA_API_KEY or setApiKey), like for Thunderforest and Tracestrack
  • Append ?api_key={apikey} to the two Stamen tile sources and mark them as requiring a key, so the usual "API key required" overlay shows when it's missing
  • Move the two overlays to the Stadia stamen_toner_lines and stamen_terrain_lines styles with the same key
  • Update MAP_TYPES.md, which still lists Stamen under the free types
Lingua principale
Kotlin
Stelle
4
Fork
1
Merge medio
1h 55m
PR unite (30g)
29

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.

Issue simili

Altre issue su Kotlin

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.