---
title: "SplatModelUpdateEvent | 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 SplatModelUpdateEvent

Event fired when a SplatModel position or elevation is updated.

interface SplatModelUpdateEvent {  
    [altitude](#altitude): number;  
    [position](#position): [LngLat](https://docs-qmgv.pages.dev/geosplats-sdk/api/interfaces/LngLat/);  
    [type](#type): "update";  
}

#### Hierarchy ([View Summary](https://docs-qmgv.pages.dev/geosplats-sdk/api/hierarchy/#SplatModelUpdateEvent))

-   [Event](https://docs-qmgv.pages.dev/geosplats-sdk/api/interfaces/Event/)<"update"\>
    -   SplatModelUpdateEvent

##### Index

### Properties[](#properties)

[altitude](#altitude) [position](#position) [type](#type)

## Properties[](#properties-1)

### altitude[](#altitude)

altitude: number

New altitude of the SplatModel in meters.

### position[](#position)

position: [LngLat](https://docs-qmgv.pages.dev/geosplats-sdk/api/interfaces/LngLat/)

New center position of the SplatModel.

### type[](#type)

type: "update"

The type of the event.

Inherited from [Event](https://docs-qmgv.pages.dev/geosplats-sdk/api/interfaces/Event/).[type](https://docs-qmgv.pages.dev/geosplats-sdk/api/interfaces/Event/#type-1)
