Expand description
Vector tile layer drawing utilities.
StructsΒ§
- Background
Paint - Fill
Paint - Line
Paint - Raster
Paint - Raster tile layer description
- Style
Layer - Stores all the styles for a specific layer.
- Style
Layer πDef - Symbol
Paint
EnumsΒ§
- Layer
Paint - The different types of paints.
- Raster
Resampling - Style
Property
FunctionsΒ§
- extract_
text_ πfield_ property - Extract the property name from a text-field template string like β{NAME}β β βNAMEβ. If no braces, returns the string as-is.
- parse_
text_ πfield_ from_ layout - Extract a text-field property name from a layout JSON value. Handles both:
- parse_
text_ πsize_ from_ layout - Extract text-size from a layout JSON value.
Handles constant numbers and zoom-dependent
{"stops": [[z, size], ...]}.