geostyler-style
    Preparing search index...

    Interface Rule

    A Rule combines a specific amount of data (defined by a Filter and a ScaleDenominator) and an associated Symbolizer.

    interface Rule {
        elseRule?: boolean;
        filter?: Filter;
        name: string;
        scaleDenominator?: ScaleDenominator;
        symbolizers: Symbolizer[];
    }
    Index

    Properties

    elseRule?: boolean

    If true, the rule will be applied as an else-rule, meaning that it will be applied to all features that do not match any previous rules of the same rule set. If an else-rule has a provided scaleDenominator, it will only be applied to features that do not match any previous rules of the same rule set and are in the scale range defined by the scaleDenominator. If an else-rule has no scaleDenominator, it will be applied to all features that do not match any previous rules of the same rule set, regardless of the scale. If an else-rule has its own filter specified, it will only be applied to features that do not match any previous rules of the same rule set and match the filter itself.

    filter?: Filter
    name: string
    scaleDenominator?: ScaleDenominator
    symbolizers: Symbolizer[]