Raster Particle Layer
Particle animation driven by textures such as wind maps.
See also
Parameters
the ID of the layer
the ID of the source
Constructors
Types
Functions
Bind the layer to the Style.
Bind the layer to the map controller.
A filter is a property at the layer level that determines which features should be rendered in a style layer.
The maximum zoom level for the layer. At zoom levels equal to or greater than the maxzoom, the layer will be hidden.
The minimum zoom level for the layer. At zoom levels less than the minzoom, the layer will be hidden.
Displayed band of raster array source layer
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
.
Defines the amount of particles per tile.
Defines defines the opacity coefficient applied to the faded particles in each frame. In practice, this property controls the length of the particle tail.
Set the RasterParticleFadeOpacityFactor property transition options
Defines the maximum speed for particles. Velocities with magnitudes equal to or exceeding this value are clamped to the max value.
Defines a coefficient for a time period at which particles will restart at a random position, to avoid degeneration (empty areas without particles).
Defines a coefficient for the speed of particles’ motion.
Set the RasterParticleSpeedFactor property transition options
DSL for rasterParticleSpeedFactorTransition.
The slot this layer is assigned to. If specified, and a slot with that name exists, it will be placed at that position in the layer order.
A source layer is an individual layer of data within a vector source. A vector source can have multiple source layers.
Whether this layer is displayed.