Where the model sits (lng/lat/altitude). Which local point lands here is
placement.anchorPoint — top/middle/bottom, origin, or an explicit point
(default 'center': the model's robust median centers on the anchor).
OptionalbasisRaw local-frame → mercator basis with EXACT legacy semantics: replaces the internal mercator Y-flip, anchors the capture's local origin, and disables auto-centering. Mutually exclusive with placement.
Prefer placement — it covers axis conventions, heading/ pitch/roll, scale, and anchoring without matrix math.
OptionalcullCull the far-outlier "stray" splats a 1:1 transcode carries (the giant ghost sphere
around the subject) — default ON; false for a faithful render, { factor } to tune
(multiple of the 90th-percentile distance from the robust center; default 1.5).
OptionaldecoderOverride the decoder (default: in-process BvcDecoder).
Layer id.
OptionalonFired once the point cloud has loaded, with the LAS classification codes it contains (code/label/count) — populate a class show/hide checklist from it. Only fires for point-cloud assets that carry a classification attribute.
OptionalonNotified once all tiles have streamed in.
OptionalplacementFriendly placement — up-axis preset, heading/pitch/roll (degrees), scale,
and anchor point (ModelPlacement); tune at runtime with
BvcMapLibreLayer.setPlacement. Mutually exclusive with the legacy
basis (the constructor throws if both are given). Default: Z-up
source, no rotation, scale 1, 'center' anchoring (robust median —
outlier-halo-proof; choose 'bottom-center'/'top-center' to seat the
base or the top at the anchor altitude instead).
OptionalpointInitial point-cloud render options (color mode, hidden classes, point size, …); merged over the defaults.
OptionalpreloadedRender already-decoded tiles instead of fetching a URL (in-memory source).
OptionalsplatInitial gaussian-splat render options (SH toggle, color mode, …); merged over the defaults.
OptionalurlURL of the .bvc asset to load. Omit when supplying preloaded.
OptionalwasmCross-origin wasm bootstrap for the default BvcDecoder (point wasmInit
at your hosted bvc wasm). Ignored when a custom decoder is supplied.
Configuration for BvcMapLibreLayer.
idandanchorare required, plus one source — either aurlor an already-decodedpreloadedmodel; everything else has a default.placementis the friendly way to orient, scale and seat the asset, and it is mutually exclusive with the deprecatedbasis(the constructor throws if both are given). A.bvcasset carries either gaussian splats or points, so only the matching one ofsplat/pointapplies to a given file.