SDK JS
    Preparing search index...

    Interface ClassBreaksSymbology

    Colour features by numeric range (height, year built, area…).

    interface ClassBreaksSymbology {
        breaks: readonly {
            color: SymbologyColor;
            maxValue: number;
            opacity?: number;
        }[];
        defaultColor?: SymbologyColor;
        field: string;
        hideOthers?: boolean;
        type: "classBreaks";
    }
    Index

    Properties

    breaks: readonly { color: SymbologyColor; maxValue: number; opacity?: number }[]

    Ascending by maxValue; the first break a value falls at or below wins.

    defaultColor?: SymbologyColor
    field: string
    hideOthers?: boolean
    type: "classBreaks"