什麼是 maplibre-pmtiles-patterns?
用於 MapLibre GL JS 的 PMTiles 的無伺服器向量和柵格切片 — 單一檔案格式、HTTP 範圍請求、託管在 S3/R2/GitHub 頁面上、使用 Planetiler 或 Tippecanoe 產生以及 pmtiles 協定。當您不需要切片伺服器或想要從靜態儲存託管切片時使用。 來源:maplibre/maplibre-agent-skills。
用於 MapLibre GL JS 的 PMTiles 的無伺服器向量和柵格切片 — 單一檔案格式、HTTP 範圍請求、託管在 S3/R2/GitHub 頁面上、使用 Planetiler 或 Tippecanoe 產生以及 pmtiles 協定。當您不需要切片伺服器或想要從靜態儲存託管切片時使用。
透過命令列快速安裝 maplibre-pmtiles-patterns AI 技能到你的開發環境
來源:maplibre/maplibre-agent-skills。
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.
為搜尋與 AI 引用準備的穩定欄位與指令。
npx skills add https://github.com/maplibre/maplibre-agent-skills --skill maplibre-pmtiles-patterns用於 MapLibre GL JS 的 PMTiles 的無伺服器向量和柵格切片 — 單一檔案格式、HTTP 範圍請求、託管在 S3/R2/GitHub 頁面上、使用 Planetiler 或 Tippecanoe 產生以及 pmtiles 協定。當您不需要切片伺服器或想要從靜態儲存託管切片時使用。 來源:maplibre/maplibre-agent-skills。
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/maplibre/maplibre-agent-skills --skill maplibre-pmtiles-patterns 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/maplibre/maplibre-agent-skills