OpenStreetMap does not work on Wordpress.com
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Attiva
- Stack tecnologico
- javascript
Direzione di ricerca
Inizia riproducendo una StoryMapJS con la mappa di base OpenStreetMap all'interno di un blocco embed di WordPress.com, dove l'iframe con sandbox genera richieste di tile 403. Decidi se StoryMapJS debba rilevare un'origine null, cambiare la mappa di base, informare gli utenti o non fare nulla; il lavoro è completo quando è stato concordato un comportamento ed è stato verificato che la mappa incorporata non fallisca più o informi chiaramente gli utenti.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
We've had a series of reports from people who use Wordpress.com that their map is filled with 403 blocked tiles.
Wordpress.com does not allow iframe tags in the Custom HTML block; instead, storymaps must be embedded using the embed block, which constructs an iframe with the storymap URL. The constructed iframe has sandbox="allow-scripts" which prevents the referrer from being sent with the tile request, which is against OpenStreetMap's policy.
We cannot change the way that Wordpress handles embeds. For now, the workaround is to use a different basemap. The only no-cost basemap directly supported by StoryMapJS is "Cooper-Hewitt: Watercolor".
Users could also consider using Mapbox Studio or Stadia Maps, each of which have some no-cost options. Mapbox Studio's pay-as-you-go plan might never get to the point of costing money; Stadia's no-cost option is only available for non-commercial use. Of course, if you have access to some other "slippy map" URL, you could use that with the "custom" map type.
To consider: should StoryMapJS be updated to recognize when self.origin === "null" and the basemap is set to OpenStreetMap and
- switch to another map
- message the viewer (who may not be the author)
- both
- neither
- Lingua principale
- JavaScript
- Stelle
- 248
- Fork
- 61
- Merge medio
- 1m
- PR unite (30g)
- 1
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
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.
Altre issue di NUKnightLab/StoryMapJS
-
Visual glitches Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
NUKnightLab/StoryMapJS#506 ·
-
Provide a npm distribution Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
NUKnightLab/StoryMapJS#505 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 50/100
NUKnightLab/StoryMapJS#495 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
NUKnightLab/StoryMapJS#488 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
NUKnightLab/StoryMapJS#487 ·
Tutte le issue di NUKnightLab/StoryMapJS
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
area-deployment area-integrations triage:bot-seen
Difficoltà 2/5 Mezza giornata Idoneità per principianti 86/100
-
Issue-Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
sugarlabs/musicblocks#8924 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
ArduPilot/ardupilot_wiki#8088 ·
-
[BUG] createTool tools cannot be registered with Mastra when exactOptionalPropertyTypes is enabled Apertacustomer-eng status: needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100