GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Resolves a feature against its layer's taxonomy: the binding, plus the category and sub-category entries its column values land on.

      The single entry point behind resolvePoiIcon, resolveTitleIcon and the badge resolver — they differ only in what they do with the result.

      Parameters

      • config: TaxonomyConfig

        Resolved taxonomy configuration; a disabled one yields null.

      • layerId: string | null

        GeoLeaf layer id, or null to read it off the feature.

      • feature: TaxonomyFeatureLike

        The feature whose taxonomy entry is resolved.

      Returns ResolvedEntry | null

      null when taxonomy is disabled, the layer id is unknown, or the layer is not bound to any taxonomy.