mapbox / mapbox-gl-leaflet

binding from Mapbox GL JS to the Leaflet API
ISC License
522 stars 155 forks source link

Your examples no longer work #108

Closed ademirci-init closed 4 years ago

ademirci-init commented 5 years ago

Beim öffnen ihrer drei beispiele bekomme ich immer die selbe Fehlermeldung ("Grund: CORS-Kopfzeile 'Access-Control-Allow-Origin' fehlt").

English: When opening their three examples I always get the same error message ("Reason: No 'Access-Control-Allow-Origin' header is present on the requested resource").

jgravois commented 5 years ago

it appears https://www.maptiler.com no longer allows anonymous tile requests. a PR that substitutes a different service would be welcome.

w8r commented 4 years ago

Thanks, will do

duerrsimon commented 4 years ago

Are there any updates to this? I cannot get this to work.

w8r commented 4 years ago

You need a MapTiler API key