Skip to content
maplibre-yaml
maplibre:
yaml
Search
Ctrl
K
Cancel
Examples
Playground
GitHub
Select theme
Dark
Light
Auto
Start here
Choose your path
What is maplibre-yaml?
Quick start: a map in an HTML page
Quick start: Astro site on GitHub Pages
Your first map, explained
Installation & versions
Upgrading to 0.10
Playground
Make a map
Loading data
Large data
Choose a format
Cloud-native data
PMTiles
FlatGeobuf
GeoParquet
Cloud Optimized GeoTIFF (COG)
Grid sources
Host your own basemap
Live data & streaming
Layers & styling
Thematic maps & legends
Popups, hover & controls
Accessibility & languages
Reusing values & blocks
Story maps
Story maps in plain HTML
Story maps in Astro
Writing a story file
Examples
Overview
Basic map
Interactive points
Thematic maps
Earthquake tracker
MapLibre examples in YAML
Mapzen classics
Put it in your site
HTML pages: the <ml-map> element
Astro
Astro content collections
React & other frameworks
JavaScript API
Publishing & subpaths
Troubleshooting
Tools
The CLI (mlym)
Editor setup
JSON & TOML documents
Using AI agents
Advanced
Format v2 (opt-in)
Export to style.json
Export classes
Effects (experimental)
Parsing & validating in your own code
Reference
YAML reference: every key
Overview
Map block (v1, default)
Sources
Layers
Map block (v2, opt-in)
Scrollytelling block
Root document (pages)
Format overview
Map documents
Sources & layers
<ml-map> & <ml-scrollytelling> reference
CLI commands
TypeScript API
Overview
core
core/components
core/register
core/maplibre
core/schemas
Examples
Playground
GitHub
Select theme
Dark
Light
Auto
DEFAULT_PIN_HEIGHT
const
DEFAULT_PIN_HEIGHT
:
41
=
41
Defined in:
packages/core/src/emitter/assets.ts:186