Companion

object Companion

Static variables and methods.

Properties

Link copied to clipboard

The maximum zoom level for the layer. At zoom levels equal to or greater than the maxzoom, the layer will be hidden.

Link copied to clipboard

The minimum zoom level for the layer. At zoom levels less than the minzoom, the layer will be hidden.

Link copied to clipboard

Displayed band of raster array source layer

Displayed band of raster array source layer

Link copied to clipboard

Defines a color map by which to colorize a raster particle layer, parameterized by the ["raster-particle-speed"] expression and evaluated at 256 uniformly spaced steps over the range specified by raster-particle-max-speed.

Link copied to clipboard

Defines the amount of particles per tile. Default value: 512. Minimum value: 1.

Link copied to clipboard

Defines the amount of particles per tile. Default value: 512. Minimum value: 1.

Link copied to clipboard

Defines defines the opacity coefficient applied to the faded particles in each frame. In practice, this property controls the length of the particle tail. Default value: 0.98. Value range: 0, 1

Defines defines the opacity coefficient applied to the faded particles in each frame. In practice, this property controls the length of the particle tail. Default value: 0.98. Value range: 0, 1

Transition options for RasterParticleFadeOpacityFactor.

Link copied to clipboard

Defines the maximum speed for particles. Velocities with magnitudes equal to or exceeding this value are clamped to the max value. Default value: 1. Minimum value: 1.

Defines the maximum speed for particles. Velocities with magnitudes equal to or exceeding this value are clamped to the max value. Default value: 1. Minimum value: 1.

Link copied to clipboard

Defines a coefficient for a time period at which particles will restart at a random position, to avoid degeneration (empty areas without particles). Default value: 0.8. Value 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). Default value: 0.8. Value range: 0, 1

Link copied to clipboard

Defines a coefficient for the speed of particles’ motion. Default value: 0.2. Value range: 0, 1

Defines a coefficient for the speed of particles’ motion. Default value: 0.2. Value range: 0, 1

Transition options for RasterParticleSpeedFactor.

Link copied to clipboard

Visibility of the layer.