Layers - MapLibre Style Spec
Layers — MapLibre Style Spec is a quick reference for advanced layer paint and layout properties in Pantograf. Pantograf renders map layers with MapLibre GL JS; sub-layer paint you configure in Layer Symbology maps directly to MapLibre style JSON.
A. Official specification
For the full list of layer types, paint properties, expressions, and filters, use the upstream documentation:
- Layers — layer types (
fill,line,circle,fill-extrusion, etc.) - Sources — how vector, raster, and GeoJSON sources are defined
- Expressions — data-driven styling syntax
Layer Symbology exposes the most common options through the UI. When you need a property that is not in the panel, export or inspect the layer JSON and cross-check property names against the spec.
B. Common layer types in Pantograf
| Geometry | Typical MapLibre type | Notes |
|---|---|---|
| Polygon | fill, fill-extrusion | Extrusion uses fill-extrusion-height / fill-extrusion-base |
| Polyline | line | Includes line-dasharray for dashed patterns |
| Point | circle, symbol | Categorized icons use symbol layout properties |
Geometry-generated (gg) sub-layers may output custom or extrusion types; see Vertical Zoning & Extrusion.
C. Basemap editing
Shared basemap styles edited in 2.2.4 Basemap Editor follow the same MapLibre schema. Local source and layer lists in that tool correspond to entries in a style document’s sources and layers arrays.
Keywords
layers, maplibre, style, spec, official, specification, common, layer, types, pantograf, basemap, editing