---
title: "SplatModelOptions | Geosplats sdk"
description: "Documentation for MapTiler GeoSplats SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs-qmgv.pages.dev/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Interface SplatModelOptions

Options for creating a SplatModel instance.

interface SplatModelOptions {  
    [cameraCollisions](#cameracollisions)?: boolean;  
    [center](#center)?: [LngLatLike](https://docs-qmgv.pages.dev/geosplats-sdk/api/types/LngLatLike/);  
    [draggable](#draggable)?: boolean;  
    [model](#model): string;  
    [revealParams](#revealparams)?: [RevealParams](https://docs-qmgv.pages.dev/geosplats-sdk/api/interfaces/RevealParams/);  
}

##### Index

### Properties[](#properties)

[cameraCollisions?](#cameracollisions) [center?](#center) [draggable?](#draggable) [model](#model) [revealParams?](#revealparams)

## Properties[](#properties-1)

### `Optional`cameraCollisions[](#cameracollisions)

cameraCollisions?: boolean

Whether the camera movement is restricted by model.

#### Default[](#default)

```typescript
false
```

### `Optional`center[](#center)

center?: [LngLatLike](https://docs-qmgv.pages.dev/geosplats-sdk/api/types/LngLatLike/)

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

### `Optional`draggable[](#draggable)

draggable?: boolean

Whether the model should be draggable on the map.

#### Default[](#default-1)

```typescript
false
```

### model[](#model)

model: string

UUID or URL of the SplatModel model.

### `Optional`revealParams[](#revealparams)

revealParams?: [RevealParams](https://docs-qmgv.pages.dev/geosplats-sdk/api/interfaces/RevealParams/)

Reveal animation options
