mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 10:51:07 +00:00
* Make aws/cloudflare depend on pmtiles from npm [#455] This is clearer to developers than relying on the local code being built. * update check_examples.py * bump openlayers to v2 with upgrade of pmtiles to v4 [#455] * update to 4.2.1
Protomaps on Cloudflare
See installation and configuration instructions at Protomaps Docs: Deploy on Cloudflare
Development
Web Console (basic)
Generate the Workers script using npm run build and copy dist/index.js to the editor.
Wrangler (advanced)
The preview_bucket_name value in wrangler.toml should be changed to your bucket used for development.
Run npm run start to serve your Worker at http://localhost:8787. The cache will not be active in development.