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

    Type Alias Comparator

    Comparator:
        | "=="
        | "!="
        | ">"
        | ">="
        | "<"
        | "<="
        | "in"
        | "!in"
        | "has"
        | "!has"

    Comparator

    One of "==" | "!=" | ">" | ">=" | "<" | "<=" | "in" | "!in" | "has" | "!has"

    Used by the filter function to determine if a feature should be included in the render.

    NOTE: "in" means "in the array" and "has" means "has the key"

    ex.

    { "filter": { "key": "type", "comparator": "in", "value": ["ocean", "lake"] } }
    

    this would be used to filter features where feature.properties.type is either "ocean" or "lake"

    ex.

    { "filter": { "key": "type", "comparator": "has", "value": "ocean" } }
    

    this would be used to filter features where feature.properties.type is an array that has the key "ocean"