@honua/sdk-js
    Preparing search index...

    Interface RendererLegendItemExperimental

    One legend entry derived from a renderer descriptor. This is a stable contract (issue #497 REQ-005): label and color are always present; value is set for unique-value entries, minValue/maxValue for ranged entries (class breaks, cluster steps), and heatmap stops carry the ramp position in value.

    interface RendererLegendItem {
        color: string;
        kind:
            | "default"
            | "unique-value"
            | "class-break"
            | "heatmap-stop"
            | "cluster-step";
        label: string;
        maxValue?: number;
        minValue?: number;
        value?: string
        | number
        | boolean
        | null;
    }
    Index

    Properties

    color: string

    CSS color for the legend swatch.

    kind:
        | "default"
        | "unique-value"
        | "class-break"
        | "heatmap-stop"
        | "cluster-step"
    label: string
    maxValue?: number
    minValue?: number
    value?: string | number | boolean | null