·maplibre-pmtiles-patterns
</>

maplibre-pmtiles-patterns

Serverless vector and raster tiles with PMTiles for MapLibre GL JS — single-file format, HTTP range requests, hosting on S3/R2/GitHub Pages, generating with Planetiler or tippecanoe, and the pmtiles protocol. Use when you need no tile server or want to host tiles from static storage.

28Installs·2Trend·@maplibre

Installation

$npx skills add https://github.com/maplibre/maplibre-agent-skills --skill maplibre-pmtiles-patterns

How to Install maplibre-pmtiles-patterns

Quickly install maplibre-pmtiles-patterns AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/maplibre/maplibre-agent-skills --skill maplibre-pmtiles-patterns
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: maplibre/maplibre-agent-skills.

SKILL.md

View raw

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.

MapLibre does not speak PMTiles natively. You use the PMTiles library to add a protocol handler so that a pmtiles:// (or https:// to a .pmtiles file) source works.

Referencing layers: The style has one source (e.g. sources.tiles) pointing at the .pmtiles URL. Each layer in the layers array that draws from that file uses source: 'tiles' and "source-layer": "layerName", where layerName is the name of a vector layer inside the file (from whatever schema the tiles use). Add multiple style layers with different source-layer values to show roads, labels, etc. from the same file.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/maplibre/maplibre-agent-skills --skill maplibre-pmtiles-patterns
Category
</>Dev Tools
Verified
First Seen
2026-03-06
Updated
2026-03-10

Browse more skills from maplibre/maplibre-agent-skills

Quick answers

What is maplibre-pmtiles-patterns?

Serverless vector and raster tiles with PMTiles for MapLibre GL JS — single-file format, HTTP range requests, hosting on S3/R2/GitHub Pages, generating with Planetiler or tippecanoe, and the pmtiles protocol. Use when you need no tile server or want to host tiles from static storage. Source: maplibre/maplibre-agent-skills.

How do I install maplibre-pmtiles-patterns?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/maplibre/maplibre-agent-skills --skill maplibre-pmtiles-patterns Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/maplibre/maplibre-agent-skills

Details

Category
</>Dev Tools
Source
skills.sh
First Seen
2026-03-06