mapbox / mapbox.js

Mapbox JavaScript API, a Leaflet Plugin
mapbox.com/mapbox.js/
Other
1.92k stars 386 forks source link

GeoJSON not loading in JSFiddle #1312

Open tsuz opened 4 years ago

tsuz commented 4 years ago

The markers in the example do not load properly since the relative path does not exist when it's loaded in JSFiddle. For this example, the JSON assets should be loaded over relative path to the origin so it does not load which you can see here. After updating the featureLayer argument to the geojson URL, in the console, it shows a CORS error. Updated fiddle example.

Screen Shot 2019-12-04 at 15 04 47