GeoLeaf Core API - v3.0.0
    Preparing search index...

    Flat normalized style — input to all converters.

    interface FlatStyle {
        fillColor?: string;
        fillOpacity?: number;
        color?: string;
        weight?: number;
        opacity?: number;
        dashArray?: string;
        lineCap?: string;
        lineJoin?: string;
        radius?: number;
        fillExtrusionColor?: string;
        fillExtrusionOpacity?: number;
        fillExtrusionHeight?: string | number;
        fillExtrusionBase?: string | number;
        paint?: Record<string, unknown>;
        expressionPaint?: Record<string, unknown>;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown
    Index

    Properties

    fillColor?: string
    fillOpacity?: number
    color?: string
    weight?: number
    opacity?: number
    dashArray?: string
    lineCap?: string
    lineJoin?: string
    radius?: number
    fillExtrusionColor?: string

    fill-extrusion: face color (hex).

    fillExtrusionOpacity?: number

    fill-extrusion: global opacity (0–1).

    fillExtrusionHeight?: string | number

    fill-extrusion: height in metres. Number = fixed, string = feature field name.

    fillExtrusionBase?: string | number

    fill-extrusion: base height in metres. Number = fixed, string = feature field name.

    paint?: Record<string, unknown>

    Native MapLibre GL paint properties (literal form) passed through as-is. Keys must be MapLibre paint property names (e.g. "fill-color", "circle-radius"). Merged into the layer paint, overriding GeoLeaf-derived keys for the same key; expressionPaint (expression form) still wins last. (ANO-059 — finalized in Archi S2)

    expressionPaint?: Record<string, unknown>

    Native MapLibre GL paint properties passed through as-is. Keys must be MapLibre paint property names (e.g. "fill-color", "line-width"). Values can be scalars or MapLibre GL expression arrays. These override any GeoLeaf-derived paint properties for the same key.