---
title: "Layer3DOptions | 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.

# Type Alias Layer3DOptions

type Layer3DOptions \= {  
    [ambientLightColor](#ambientlightcolor)?: ColorRepresentation;  
    [ambientLightIntensity](#ambientlightintensity)?: number;  
    [antialias](#antialias)?: boolean;  
    [maxZoom](#maxzoom)?: number;  
    [minZoom](#minzoom)?: number;  
}

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

##### Index

### Properties

[ambientLightColor?](#ambientlightcolor) [ambientLightIntensity?](#ambientlightintensity) [antialias?](#antialias) [maxZoom?](#maxzoom) [minZoom?](#minzoom)

## Properties

### `Optional`ambientLightColor[](#ambientlightcolor)

ambientLightColor?: ColorRepresentation

Ambient light color. Default: `0xffffff` (white)

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

### `Optional`ambientLightIntensity[](#ambientlightintensity)

ambientLightIntensity?: number

Ambient light intensity. Default: `1`

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

### `Optional`antialias[](#antialias)

antialias?: boolean

Default: true

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

### `Optional`maxZoom[](#maxzoom)

maxZoom?: number

Beyond this zoom level, the meshes are not visible. Default: 22

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

### `Optional`minZoom[](#minzoom)

minZoom?: number

Bellow this zoom level, the meshes are not visible Default: 0

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