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.
The opacity at which the image will be drawn. Range: 0-1.
Rotates hues around the color wheel in degrees.
Increase or reduce the brightness of the image. Range: 0-1.
Increase or reduce the brightness of the image. Range: 0-1.
Increase or reduce the saturation of the image. Range: -1 to 1.
Increase or reduce the contrast of the image. Range: -1 to 1.
The resampling/interpolation method to use for overscaling.