On this page

Interface SplatModelOptions

Options for creating a SplatModel instance.

interface SplatModelOptions {
    cameraCollisions?: boolean;
    center?: LngLatLike;
    draggable?: boolean;
    model: string;
    revealParams?: RevealParams;
}
Index

Properties

cameraCollisions?: boolean

Whether the camera movement is restricted by model.

false
center?: LngLatLike

Geographic center where the model should be positioned. If provided, it overrides the center declared in the model JSON.

draggable?: boolean

Whether the model should be draggable on the map.

false
model: string

UUID or URL of the SplatModel model.

revealParams?: RevealParams

Reveal animation options

Was this helpful?
GeoSplats SDK
Reference
SplatModelOptions