GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Resolves every filter field's selectable options, deriving the "auto" tag fields from the data actually loaded.

      Two-pass on purpose. resolveFieldOptions answers for the fields whose options are declared in the profile — a static list needs no data. Only a tag field with options: "auto" requires reading the features, and it is resolved here so that its option list reflects what is currently on the map instead of what the profile guessed. A layer loaded later therefore widens the list at the next call, not at boot.

      Parameters

      • config: FilterConfig

        The filter configuration whose fields are being resolved.

      Returns OptionsByField

      The options for every field, keyed by field id.