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

    One entry of a LegendSection — a symbol and the text that explains it.

    symbol is an untyped style record because a legend entry can describe any renderer's output (circle, icon, hatch pattern, line dash…); the renderer that owns the layer decides how to read it. order sorts entries within their section; entries without it keep their declaration order.

    interface LegendItem {
        label?: string;
        description?: string;
        symbol?: Record<string, unknown>;
        order?: number;
    }
    Index

    Properties

    label?: string
    description?: string
    symbol?: Record<string, unknown>
    order?: number