---
title: "AltitudeReference | 3D JS | JavaScript maps SDK"
description: "Documentation for 3D objects"
---

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

# Enumeration AltitudeReference

The altitude of a mesh can be relative to the ground surface, or to the mean sea level

-   Defined in [src/types.ts:33](https://github.com/maptiler/maptiler-3d-js/blob/d1455de4164bd626ae604b498181010b0ec9ac4b/src/types.ts#L33)

##### Index

### Enumeration Members

[GROUND](#ground) [MEAN\_SEA\_LEVEL](#mean_sea_level)

## Enumeration Members

### GROUND[](#ground)

GROUND: 1

Use the ground as a reference point to compute the altitude

-   Defined in [src/types.ts:37](https://github.com/maptiler/maptiler-3d-js/blob/d1455de4164bd626ae604b498181010b0ec9ac4b/src/types.ts#L37)

### MEAN\_SEA\_LEVEL[](#mean_sea_level)

MEAN\_SEA\_LEVEL: 2

Uses mean sea level as a reference point to compute the altitude

-   Defined in [src/types.ts:42](https://github.com/maptiler/maptiler-3d-js/blob/d1455de4164bd626ae604b498181010b0ec9ac4b/src/types.ts#L42)
