# # Tile3DLayerInterface

Interface for layers that render 3D tiles data formatted according to the 3D Tiles Specification
(opens new window). This is a specification for implementers to model: it is not an exported method or class.

3D tile layers are rendered using Tile3DLayer
(opens new window) in deck.gl
(opens new window). It allows a developer to overlay photogrammetry, 3D buildings, BIM/CAD and point clouds on a map by specifying the 3D tiles data and rendering options. These layers can be added to the map using Map#addLayer.

3D tile layers must have a unique `id` and must have the `type` of `'tile-3d'`.

## # Properties

In addition to the following properties, all properties of Tile3DLayer
(opens new window) in deck.gl are supported.

### # `id` (`string`
(opens new window))

A unique layer id.

### # `lightColor` (`Array`
(opens new window)`<``number`
(opens new window)`>`)

A color of the lights. It is an array of red, green, and blue components, each with any number between `0` and `255`. If not specified, the dynamic light color based on the current date and time will be used.

### # `maxzoom` (`number`
(opens new window))

The maximum zoom level for the layer. At zoom levels equal to or greater than the maxzoom, the layer will be hidden. The value can be any number between `0` and `24` (inclusive). If no maxzoom is provided, the layer will be visible at all zoom levels.

### # `minzoom` (`number`
(opens new window))

The minimum zoom level for the layer. At zoom levels less than the minzoom, the layer will be hidden. The value can be any number between `0` and `24` (inclusive). If no minzoom is provided, the layer will be visible at all zoom levels.

### # `type` (`string`
(opens new window))

The layer's type. Must be `'tile-3d'`.

## # Example

    map.addLayer({
    	id: `tile-3d-plateau`,
    	type: 'tile-3d',
    	data: `https://plateau.geospatial.jp/main/data/3d-tiles/bldg/13100_tokyo/13101_chiyoda-ku/low_resolution/tileset.json`,
    	opacity: 0.8
    });