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

Link copied to clipboard

Displayed band of raster array source layer

Link copied to clipboard

Increase or reduce the brightness of the image. The value is the maximum brightness.

Link copied to clipboard

Increase or reduce the brightness of the image. The value is the maximum brightness.

Link copied to clipboard

Transition options for RasterBrightnessMax.

Link copied to clipboard

Increase or reduce the brightness of the image. The value is the minimum brightness.

Link copied to clipboard

Increase or reduce the brightness of the image. The value is the minimum brightness.

Link copied to clipboard

Transition options for RasterBrightnessMin.

Link copied to clipboard

When raster-color is active, specifies the combination of source RGB channels used to compute the raster value. Computed using the equation mix.r * src.r + mix.g * src.g + mix.b * src.b + mix.a. The first three components specify the mix of source red, green, and blue channels, respectively. The fourth component serves as a constant offset and is not multipled by source alpha. Source alpha is instead carried through and applied as opacity to the colorized result. Default value corresponds to RGB luminosity.

Link copied to clipboard

When raster-color is active, specifies the combination of source RGB channels used to compute the raster value. Computed using the equation mix.r * src.r + mix.g * src.g + mix.b * src.b + mix.a. The first three components specify the mix of source red, green, and blue channels, respectively. The fourth component serves as a constant offset and is not multipled by source alpha. Source alpha is instead carried through and applied as opacity to the colorized result. Default value corresponds to RGB luminosity.

Link copied to clipboard

Transition options for RasterColorMix.

Link copied to clipboard

When raster-color is active, specifies the range over which raster-color is tabulated. Units correspond to the computed raster value via raster-color-mix.

Link copied to clipboard

When raster-color is active, specifies the range over which raster-color is tabulated. Units correspond to the computed raster value via raster-color-mix.

Link copied to clipboard

Transition options for RasterColorRange.

Link copied to clipboard

Increase or reduce the contrast of the image.

Link copied to clipboard

Increase or reduce the contrast of the image.

Link copied to clipboard

Transition options for RasterContrast.

Link copied to clipboard

Specifies an uniform elevation from the ground, in meters. Only supported with image sources.

Link copied to clipboard

Specifies an uniform elevation from the ground, in meters. Only supported with image sources.

Link copied to clipboard

Transition options for RasterElevation.

Link copied to clipboard

Controls the intensity of light emitted on the source features.

Controls the intensity of light emitted on the source features.

Link copied to clipboard

Transition options for RasterEmissiveStrength.

Link copied to clipboard

Fade duration when a new tile is added.

Link copied to clipboard

Fade duration when a new tile is added.

Link copied to clipboard

Rotates hues around the color wheel.

Link copied to clipboard

Rotates hues around the color wheel.

Link copied to clipboard

Transition options for RasterHueRotate.

Link copied to clipboard

The opacity at which the image will be drawn.

Link copied to clipboard

The opacity at which the image will be drawn.

Link copied to clipboard

Transition options for RasterOpacity.

Link copied to clipboard

The resampling/interpolation method to use for overscaling, also known as texture magnification filter

Link copied to clipboard

The resampling/interpolation method to use for overscaling, also known as texture magnification filter

Link copied to clipboard

Increase or reduce the saturation of the image.

Link copied to clipboard

Increase or reduce the saturation of the image.

Link copied to clipboard

Transition options for RasterSaturation.

Link copied to clipboard

Visibility of the layer.