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.
Displayed band of raster array source layer.
Defines the amount of particles per tile. Minimum: 1
Defines a color map by which to colorize a raster particle layer, parameterized by the rasterParticleSpeed expression.
Defines the maximum speed for particles. Velocities with magnitudes equal to or exceeding this value are clamped to the max value. Minimum: 1
Defines a coefficient for the speed of particles’ motion. Range: 0-1.
Defines the opacity coefficient applied to the faded particles in each frame. In practice, this property controls the length of the particle tail. Range: 0-1.
Defines a coefficient for a time period at which particles will restart at a random position, to avoid degeneration (empty areas without particles). Range: 0-1.