You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HTTP 404 errors from linked data (such as URLs pointing to GeoJSON sources) are reported as simply "HTTP 404 Not Found". But what exactly wasn't found? The error looks just like the error for a bad link to the whole style document.
Also, we don't need to fail the whole document if only one of the sources is not accessible.
- read.js: Return Errors, and add the URL to the error message
- links.js: Refactor, and use Promise.allSettled instead of
Promise.all for sources, so the style can continue loading
even if one source fails. For the same reason, catch and log
any errors from loading the sprite
- examples/validator: Add missingSprite.json for testing
HTTP 404 errors from linked data (such as URLs pointing to GeoJSON sources) are reported as simply "HTTP 404 Not Found". But what exactly wasn't found? The error looks just like the error for a bad link to the whole style document.
Also, we don't need to fail the whole document if only one of the sources is not accessible.
Test case: plug this link into the "validator" example:
https://globeletjs.org/examples/geojson/klokantech-basic-style-geojson.json
The text was updated successfully, but these errors were encountered: