davwheat / pmtiles-cloudflare-worker

Cloud-optimized + compressed single-file tile archives for vector and raster maps

Home Page:https://protomaps.com/docs/pmtiles/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Cloud-optimized + compressed single-file tile archives for vector and raster maps

https://protomaps.com/docs/pmtiles/

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:TypeScript 92.2%Language:JavaScript 7.8%