GeoLeaf Core API - v3.19.0
    Preparing search index...
    • One field's selection, as the entries a URL carries for it.

      Parameters

      • field: PermalinkFilterField

        A serialised filter field (GeoLeaf.Filter.getActiveFilter().fields[]).

      Returns [string, string][]

      [key, value] pairs, the key relative to FIELD_FILTER_PREFIX: one for the field, a second for a taxonomy field's sub-categories. Empty when the field constrains nothing or its kind is not carried.

      encodeFieldFilter({ id: "altitude", kind: "range", range: { min: 100, max: 500 } });
      // → [["altitude", "100..500"]]