Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demos broken due to CORS errors in Firefox, Chrome #19

Open
inactivist opened this issue Feb 11, 2021 · 1 comment
Open

Demos broken due to CORS errors in Firefox, Chrome #19

inactivist opened this issue Feb 11, 2021 · 1 comment

Comments

@inactivist
Copy link

Neither demo works for me in recent Chrome/Firefox releases - the tiles/features fail to render. The network panel shows various CORS errors for the S3-hosted tile data

Here's the Chrome network inspector taken from the basic demo:

image

Chrome Version 88.0.4324.150 
FireFox Version 85.0.1 (64-bit)
Ubuntu 18.04
@d1manson
Copy link
Contributor

Thanks for reporting. It looks like we have removed that s3 bucket entirely.
It's possible we'll fix that at some point, but it's not likely to be soon.

If you are really keen to test the demo, you can follow the instructions for getting your own sample tiles (or use tiles from another source that you already have access to).

https://github.com/landtechnologies/Mapbox-vector-tiles-basic-js-renderer/tree/master/debug/basic

Tiles (for Brighton, UK) were obtained free from openmaptiles.com for use, here, in this open source project. They are currently hosted within an AWS S3 bucket owned by LandInsight. After download they were upacked into .pbf using @mapbox/node-mbtiles (see script unpack_tiles.js here).

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

No branches or pull requests

2 participants