Files
a-plot-of-plants/docs/vector-tiles.md
T
2026-07-25 21:55:35 -05:00

936 B

Mandan vector tiles

The yard map reads the committed tiles/mandan.pmtiles archive directly in the browser using MapLibre GL JS. No tile server or internet-hosted raster tile service is required. The map omits the Protomaps symbol layers so it does not need remotely hosted font glyphs or sprites; the basemap is fully local.

The archive covers Mandan and a modest surrounding margin: -101.05,46.74,-100.75,46.93. PMTiles extraction is tile-aligned, so the actual archive includes a little neighboring context.

Build an update

Install the pmtiles CLI, choose a dated Version 4 daily build from maps.protomaps.com/builds, and run:

scripts/extract-mandan-pmtiles.sh \
  https://build.protomaps.com/YYYYMMDD.pmtiles

The script refuses to overwrite an existing archive. Move the old archive aside before deliberately replacing it.