s2maps-gpu - v0.18.0
    Preparing search index...

    Interface ConditionFilter<T>

    Condition

    Data conditions are used to filter features based on what property values the feature has.

    • If the condition's filter passes, the input is used.
    • If all conditions fail, the fallback is used.
    • filter: [See Filter] Filter conditions are used to filter features based on what property values the feature has.
    • input: [See Property] Input values directly access properties data from the feature. The input value must be a NotNullOrObject

    ex.

    {
    "filter": { "key": "country", "comparator": "==", "value": "US" },
    "input": "#007bfe"
    }

    Type Parameters