Replies: 1 comment
-
@devdattaT that's a bit tricky but hopeful it's really easy for people to customized the error message return by their titiler application. People could argue that tile outside a bound is not found not empty 🤷♂️ Ideally you'll want to configure your raster layer so it doesn't try to load tiles outside the raster bounding box. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am building an app where the frontend is in MapboxGL and it is consuming tiles generated on the fly by TiTiler.
As the user navigates around the map, the client library makes tiles request which could fall outside the area of the Raster. Right now, TiTiler sends a 404 Error message, and this is also shown as an error by MapboxGL.
Given that there is no content to be returned a 204 HTTP status code might make more sense. This is what is also suggested on the MapBoxGL repo: mapbox/mapbox-gl-js#1800
Beta Was this translation helpful? Give feedback.
All reactions