Field configuration — its style selects the pill variant.
Already-resolved badge text.
OptionalbadgeStyle: BadgeStyle | nullColours from the taxonomy seam, or null for an uncoloured pill.
The rendered element, or null when the value is empty.
Renders a category badge:
<div class="gl-poi-badge-container">wrapping a<span class="gl-poi-badge">.When the taxonomy hands over colours (the surface opted in via
render.<surface>.colorBadges), the pill wears the same fill and border as the category's marker disc on the map — the pill and the symbol should read as one object. Without them the pill falls back to its stylesheet colours.Colours are written through the CSSOM, one property at a time. A literal
style="…"attribute would be blocked by the strictstyle-srcCSP; per-property writes are not. The values arrive pre-validated from taxonomy.