Native MapLibre layer object accepted by map.addLayer(), derived from the Map type. The helpers assemble per-geometry layer literals (whose type discriminant TS widens) and cast to this at the addLayer boundary.
map.addLayer()
Map
type
addLayer
Native MapLibre layer object accepted by
map.addLayer(), derived from theMaptype. The helpers assemble per-geometry layer literals (whosetypediscriminant TS widens) and cast to this at theaddLayerboundary.