Stamen map types and overlays don't load anymore
I maintainer di solito rispondono entro 1 giorno
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
- Ambito
- api, documentation, mobile
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:
MapType.STAMEN_TONERandMapType.STAMEN_WATERCOLORuse 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.PredefinedTileProviders.stamenTonerHybrid()andstamenTerrainLines()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 keySTADIA_API_KEYorsetApiKey), 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_linesandstamen_terrain_linesstyles 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
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
rustyrazorblade/easy-db-lab#1017 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
callstack/react-native-brownfield#492 · 1 commento ·
I maintainer di solito rispondono entro 4 giorni
-
fix: retain the best partial noise-correction solutionForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
world-federation-of-advertisers/cross-media-measurement#4653 ·
I maintainer di solito rispondono entro 1 giorno