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

    Interface UniqueValueRendererOptionsExperimental

    Options for uniqueValueRenderer.

    interface UniqueValueRendererOptions {
        defaultColor?: string;
        defaultLabel?: string;
        defaultStyle?: RendererStyle;
        field: string;
        field2?: string;
        field3?: string;
        fieldDelimiter?: string;
        layerType?: string;
        values: readonly UniqueValueEntry[];
        visualVariableStyle?: VisualVariableStyle;
    }

    Hierarchy (View Summary)

    Index

    Properties

    defaultColor?: string

    Fallback color for unmatched values (and legend default swatch).

    defaultLabel?: string
    defaultStyle?: RendererStyle

    Advanced default override; replaces defaultColor.

    field: string

    Feature property driving the categories.

    field2?: string

    Optional second/third fields concatenated with fieldDelimiter.

    field3?: string
    fieldDelimiter?: string

    Delimiter for multi-field matching.

    ","
    
    layerType?: string

    Force a MapLibre layer type instead of deriving it from geometry.

    values: readonly UniqueValueEntry[]
    visualVariableStyle?: VisualVariableStyle