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

    The predicate of a style rule — either one condition, or a conjunction under all.

    ⚠️ The two forms are exclusive in practice: when all is an array it is validated and the sibling field/operator/value are ignored. There is no any/or counterpart.

    interface StyleRuleWhen {
        field?: string;
        operator?: string;
        value?: unknown;
        all?: { field?: string; operator?: string; value?: unknown }[];
    }
    Index

    Properties

    field?: string

    Feature property the condition reads.

    operator?: string

    Comparison operator applied to field.

    value?: unknown

    Value compared against.

    all?: { field?: string; operator?: string; value?: unknown }[]

    Conditions that must ALL hold. When present, the sibling fields are ignored.