Replies: 1 comment
-
@bpevs had the same idea and got it working! https://github.com/inro-digital/tauri-offline-maps |
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
-
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