On this page
Interface SplatModelOptions
interface SplatModelOptions {
cameraCollisions?: boolean;
center?: LngLatLike;
draggable?: boolean;
model: string;
revealParams?: RevealParams;
}
cameraCollisions?: boolean;
center?: LngLatLike;
draggable?: boolean;
model: string;
revealParams?: RevealParams;
}
Index
Properties
Properties
OptionalcameraCollisions
cameraCollisions?: boolean
Whether the camera movement is restricted by model.
Optionalcenter
Geographic center where the model should be positioned. If provided, it overrides the center declared in the model JSON.
Optionaldraggable
draggable?: boolean
Whether the model should be draggable on the map.
model
model: string
UUID or URL of the SplatModel model.
OptionalrevealParams
Reveal animation options
Was this helpful?
Options for creating a SplatModel instance.