Raster Particle Layer Dsl
This Interface contains all the functions that will be exposed to Koltin DSL.
Separated the DSL receiver class to this interface to avoid IDE code suggestion for property getters.
Functions
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. Default value: 512. Minimum value: 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
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 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 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 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
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.