3 ms·
I turned this into a demo: https://simonw.github.io/hmb-map/ https://simonw.github.io/hmb-map/ and a blog post: https://til.simonwillison.net/gis/pmtiles https:
by simonw 3y ago
I turned this into a demo: https://simonw.github.io/hmb-map/ https://simonw.github.io/hmb-map/ and a blog post: https://til.simonwillison.net/gis/pmtiles https://til.simonwillison.net/gis/pmtiles
- globular-toast 3y agoBeat me to it. I was working on this last night but had to sleep before writing it up. I was trying to use parcel as a bundler and was thrown because whatever dev server it uses doesn't seem to support HTTP range requests properly. I was getting "invalid magic number" on the client side.