On this page

Interface SplatModelOptions

Options for creating a SplatModel instance.

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

Properties

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