OptionalalphaAlpha-test cutoff (default 0.5) — fragments below this alpha are discarded.
The shared sprite atlas (image + width/height + the symbols UV table). Each instance's
symbolId indexes its symbols.
OptionalgridRequantization grid (m) for the i32 position buffer (default 0.001 = 1 mm).
MapLibre layer id (must be unique within the map).
Where to place the billboards — each a BillboardInstance (position, symbolId, optional heading).
OptionalonFired if setup fails (e.g. empty instances).
OptionalonFired once the billboards are uploaded and rendering.
OptionalopacityInitial opacity 0–1 (default 1).
OptionalsizeGlobal on-screen size multiplier (default 1).
OptionalvisibleInitial visibility (default true).
Options for BillboardInstancesLayer.
id,atlasand a non-emptyinstancesare required; everything else defaults. The atlas is the shared sprite sheet every instance indexes through itssymbolId, andsizeScaleis the one knob most callers reach for — a global multiplier on the on-screen size each atlas symbol declares.