Allmaps Tile Server is a proxy server that turns Georeference Annotations into XYZ map tiles.
Allmaps Tile Server runs on Cloudflare Workers. Cloudflare Workers let you run tiny JavaScript programs on Cloudflare's global CDN. Cloudflare is working on publishing the Workers system as open source.
For more information, see https://observablehq.com/@bertspaan/allmaps-tile-server.
Run locally with Miniflare:
pnpm run dev
Publish to Cloudflare Workers:
wrangler publish
Example Georeference Annotation of a map of Coney Island from the NYPL:
You can turn this Georeference Annotation into XYZ tiles like this:
Allmaps Tile Server also supports TileJSON:
If Allmaps has georeference data available about a certain IIIF image and you know its Allmaps ID, you can also use this ID directly.
You can find out the Allmaps ID of all the maps in a georeferenced image like this:
This image contains one map, with ID 25b0d49e1b659498
. The XYZ tile URL of this map is:
And for TileJSON:
Instead of the URL of a Georeference Annotation, you can also supply the URL-encoded contents of the Georeference Annotation using the annotation
URL parameter:
And for TileJSON: