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

    Interface ClassBreaksRendererOptionsExperimental

    Options for classBreaksRenderer.

    interface ClassBreaksRendererOptions {
        breaks: readonly ClassBreakEntry[];
        colors?: readonly string[];
        defaultColor?: string;
        defaultLabel?: string;
        defaultStyle?: RendererStyle;
        field: string;
        layerType?: string;
        visualVariableStyle?: VisualVariableStyle;
    }

    Hierarchy (View Summary)

    Index

    Properties

    breaks: readonly ClassBreakEntry[]

    Ordered class breaks (ascending thresholds).

    colors?: readonly string[]

    Positional palette applied to breaks without an explicit color.

    defaultColor?: string

    Color for values below the first threshold (and legend default swatch).

    defaultLabel?: string
    defaultStyle?: RendererStyle

    Advanced default override; replaces defaultColor.

    field: string

    Numeric feature property driving the classification.

    layerType?: string

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

    visualVariableStyle?: VisualVariableStyle