Props
A unique identifier for the layer.
If true, references an existing layer in the style.
The source from which to obtain data.
Identifier of the layer within the source.
Inserts the layer above the specified layer ID.
Inserts the layer below the specified layer ID.
The slot this layer is assigned to. v11 only
Minimum zoom level for layer visibility.
Maximum zoom level for layer visibility.
Filters features based on a condition.
Customizable style attributes.
Style Properties
Controls layer visibility.
Model to render. It can be either a string referencing an element in the models root property or an internal or external URL.
Defines rendering behavior of the model in respect to other 3D scene objects.
The opacity of the model layer. Range: 0-1.
The rotation of the model in euler angles [x, y, z] in degrees.
The scale of the model along the [x, y, z] axis.
The translation of the model in meters along [x, y, z] axis.
The tint color of the model layer. Acts as a multiplier for the model’s color.
Intensity of the model-color. Range: 0-1.
Enable/Disable shadow casting for this layer.
Enable/Disable shadow receiving for this layer.
Strength of the emission. Minimum: 0