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.
The direction of the light source used to generate the hillshading. Range: 0-359 degrees.
Direction of the light source. When map is set, light direction is determined by hillshadeIlluminationDirection.
Intensity of the hillshade. Range: 0-1.
The shading color of areas that face away from the light source.
The shading color of areas that face towards the light source.
The shading color used to accentuate rugged terrain like sharp cliffs and gorges.