openmaptiles / positron-gl-style

Positron GL style using OpenMapTiles
https://openmaptiles.github.io/positron-gl-style/
Other
96 stars 55 forks source link

Not currently rendering on Firefox #13

Closed hughsk closed 6 years ago

hughsk commented 6 years ago

Browser: Firefox 61.0.1 OS: Windows 10 Home, 1803

Also applies to the majority of other GL styles — can quickly test/verify by checking the styles page on the website. Yields the following errors/warnings in the console:

2018-07-26 16_26_11- 2018-07-26 16_29_11-

I've also been getting the same error running a map locally on Firefox/Windows:

2018-07-26 16_32_39-

The same project setup was working three or four weeks ago, so perhaps a change in the styles or Firefox's CORS policies has caused some issues? It still works great in Chrome.

Thanks! :)

klokan commented 6 years ago

Problem not reproduced.

The maps run fine with latest Firefox - Quantum v61.0.1 on Mac OS X.

screen shot 2018-07-31 at 15 18 09

hughsk commented 6 years ago

Ah you're right! This was because of Privacy Badger, which blocked it after a while because the tile/style server was using cookies. Sorry for the trouble and thanks very much for your help :)

hughsk commented 6 years ago

Update: getting 403s for all of your gh-pages hosted styles now, including using https://openmaptiles.github.io/osm-bright-gl-style/style-cdn.json as listed in your documentation. Happens in Chrome, Firefox, and with curl.

Just getting "Origin not allowed". Not clear if this is intentional or not? Am only using them only http://localhost:9966.