Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Safari Cross-origin issue with cached tiles #28

Open
kevinejohn opened this issue Mar 14, 2017 · 1 comment
Open

Safari Cross-origin issue with cached tiles #28

kevinejohn opened this issue Mar 14, 2017 · 1 comment

Comments

@kevinejohn
Copy link

I'm trying the demo (http://mazemap.github.io/Leaflet.TileLayer.PouchDBCached/demo.html) on Safari 10.0.3 and on Safari iOS 10+ and both give the error:

Cross-origin image load denied by Cross-Origin Resource Sharing policy.

whenever it loads a tile from cache. Is there a workaround or fix?

@kevinejohn
Copy link
Author

I haven't found a fix yet but after doing some googling I found:

http://stackoverflow.com/questions/31643096/why-does-safari-throw-cors-error-when-setting-base64-data-on-a-crossorigin-an

https://bugs.webkit.org/show_bug.cgi?id=123978

Will this library just not be compatible with Safari?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant