PMTiles source and protocol
Uses the PMTiles plugin and protocol to present a map.
---
title: PMTiles source and protocol
description: Uses the PMTiles plugin and protocol to present a map.
# Overpass Ultra has built-in support for PMTiles
type: vector
options:
zoom: 12
center: [ 11.2414827, 43.779779 ]
attributionControl:
compact: true
# Setting custom attribution bc the tiles don't seem to include it.
customAttribution: '© <a href="https://openstreetmap.org">OpenStreetMap</a>'
style:
version: 8
layers:
- type: fill
source-layer: landuse
fill-color: steelblue
- type: line
source-layer: roads
- type: fill
source-layer: mask
fill-color: white
---
pmtiles://https://pmtiles.io/protomaps(vector)ODbL_firenze.pmtiles