GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Asks the taxonomy seam for the icon to show next to a feature's TITLE on a surface (the legacy "category icon before the title" behaviour), honouring the per-surface render flags. Ensures the sprite when an icon resolves. Returns the sprite symbolId (for <use href="#…">) or nullnull (no icon) in every case where the taxonomy seam is absent, the layer is unbound, no flag is on, or nothing resolves, so a surface stays byte-identical until a profile opts in.

      Parameters

      • layerId: string | undefined

        GeoLeaf layer id (from the render context).

      • feature: Record<string, unknown> | undefined

        Raw feature property bag.

      • surface: RenderSurface

        The surface being rendered.

      Returns string | null

      The sprite symbolId to prefix before the title, or null.