OptionalcolorText fill (default white).
OptionalfontCSS font (default 600 14px ui-sans-serif, system-ui, sans-serif).
OptionalhaloHalo/outline colour for legibility over imagery (default translucent black).
OptionalhaloHalo width in px (default 3; 0 disables).
OptionalmaxMax atlas width before wrapping to a new shelf row (default 1024).
OptionalpaddingPadding around the glyphs in px (default 4).
How makeTextLabelAtlas rasterises each label cell. Every field is optional and falls back to a default, so
{}is a valid style.font(any CSS font shorthand) sets the size and weight, and thehalopair is what keeps a label legible over imagery —haloWidth: 0turns the outline off.