Props
A unique identifier for the layer.
If true, references an existing layer in the style.
The source from which to obtain data.
Inserts the layer above the specified layer ID.
Inserts the layer below the specified layer ID.
Inserts the layer at a specified index.
Filters features based on a condition.
Customizable style attributes.
Style Properties
Controls layer visibility.
The type of the sky.
gradient renders the sky with a gradient that can be configured. atmosphere renders with a simulated atmospheric scattering algorithm.Position of the sun center [azimuthal angle, polar angle] in degrees. The azimuthal angle indicates the position of the sun relative to 0° north. The polar angle indicates the height of the sun.
Intensity of the sun as a light source in the atmosphere. Range: 0-100.
Position of the gradient center [azimuthal angle, polar angle] in degrees.
The angular distance (measured in degrees) from skyGradientCenter up to which the gradient extends. Range: 0-180.
Defines a radial color gradient with which to color the sky.
The color of the atmosphere region immediately above the horizon.
The color of the atmosphere region above the horizon.
The opacity of the entire sky layer. Range: 0-1.