maplibre-pmtiles-patterns

Installation
SKILL.md

MapLibre PMTiles Patterns

PMTiles is a single-file format for vector or raster map tiles. You host one (or a few) files on any static host; MapLibre requests byte ranges over HTTP. No tile server, no dynamic backend. This skill covers when to use PMTiles, how to generate and host them, and how to connect them to MapLibre GL JS.

When to Use This Skill

  • Hosting map tiles without running a tile server (S3, Cloudflare R2, GitHub Pages, etc.)
  • Building a fully static or serverless map stack
  • Serving large tile sets from a CDN with range requests
  • Generating PMTiles from OSM or other sources (Planetiler, tippecanoe)
  • Using Overture Maps or other single-file tile datasets with MapLibre

What PMTiles Is and Why It Matters

Related skills
Installs
154
GitHub Stars
111
First Seen
Feb 28, 2026