Resolves the sprite symbolId of the icon to show next to a feature's TITLE on
a feature-info surface (popup / tooltip / side-panel).
Priority (like resolvePoiIcon): sub-category svgId (only if
render[surface].showIconSubcategory) → category svgId (only if
render[surface].showIconCategory) → icons.defaultIcon (if either flag is on).
⚠ Returns the RAW, untinted id — feature-info feeds it to <use href="#…">,
which resolves against the <symbol> elements of the injected sprite, not
against the MapLibre atlas. A tinted id here would point at nothing. The glyph
takes its colour from currentColor instead.
Returns null when taxonomy is disabled, the layer is unbound, no flag is on for
the surface, or no icon resolves.
Resolves the sprite
symbolIdof the icon to show next to a feature's TITLE on a feature-info surface (popup / tooltip / side-panel).Priority (like
resolvePoiIcon): sub-categorysvgId(only ifrender[surface].showIconSubcategory) → categorysvgId(only ifrender[surface].showIconCategory) →icons.defaultIcon(if either flag is on).⚠ Returns the RAW, untinted id — feature-info feeds it to
<use href="#…">, which resolves against the<symbol>elements of the injected sprite, not against the MapLibre atlas. A tinted id here would point at nothing. The glyph takes its colour fromcurrentColorinstead.Returns
nullwhen taxonomy is disabled, the layer is unbound, no flag is on for the surface, or no icon resolves.