@dwg7/maplibre-gl-atlas live demo — click the ▦ button
(top-right of the map) to enter atlas mode, adjust the grid, then Print.
Not yet published to npm, so this page loads a vendored build from
./vendor/ instead of a CDN; see
the repo and
examples/basic/index.html
(the canonical, npm-based version of this same example).