Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Stamen map types and overlays don't load anymore

Geschlossen
#52 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@afarber arbeitet bereits daran.

Seit 13.10.2026.

  • #56 von @afarber — offen

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
50/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
android, kotlin

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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
Vorherrschende Sprache
Kotlin
Sterne
4
Forks
1
Ø Merge
1 Std. 55 Min.
Gemergte PRs (30 T.)
29

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Ähnliche Issues

Weitere Issues zu Kotlin

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.