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
Hey,
I wanted to build an app with Protomaps background map tiles. It's a single large pmtiles file that the client accesses via http range requests to get only the data of the map extent and for the exact zoom level needed. More detailed info here: https://protomaps.com/intro
When setting up a minimal example like this one https://github.com/do-me/protomaps-example with tauri (e.g. running through the wizard with plain JS, no frontend framework, simply using the index.html and zurich.pmtiles file) I am getting this error:
Error: Server returned no content-length header or content-length exceeding request. Check that your storage backend supports HTTP Byte Serving.
Are range requests already supported or is there some kind of setting I could use to activate them?
This would also benefit httpfs with DuckDB or other methods that rely on this function.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey,
I wanted to build an app with Protomaps background map tiles. It's a single large pmtiles file that the client accesses via http range requests to get only the data of the map extent and for the exact zoom level needed. More detailed info here: https://protomaps.com/intro
When setting up a minimal example like this one https://github.com/do-me/protomaps-example with tauri (e.g. running through the wizard with plain JS, no frontend framework, simply using the index.html and zurich.pmtiles file) I am getting this error:
Are range requests already supported or is there some kind of setting I could use to activate them?
This would also benefit httpfs with DuckDB or other methods that rely on this function.
I found #7870 pointing me to this reference in the docs: https://v1.tauri.app/v1/api/js/tauri/#functions. Would that be sufficient?
Beta Was this translation helpful? Give feedback.
All reactions