Map tiles
The map needs a PMTiles file in a Cloudflare R2 bucket.
The map comes from a single PMTiles file stored in a Cloudflare R2 bucket. The app reads it directly from R2, using short-lived signed addresses your server hands out. Your server won't start without it.
Cloudflare R2 is the only supported map storage for now.
Set it up
- Get a PMTiles basemap in the Protomaps format. The app's map style is built for it.
- Create an R2 bucket and upload the file.
- Create an R2 API token that can read the bucket.
- Set
R2_ACCOUNT_ID,R2_ACCESS_KEY_ID,R2_SECRET_ACCESS_KEY,R2_BUCKETandR2_PM_TILES_KEY(the file's name) on both the backend and the runner.
At startup, both check that the file exists.