Companion

object Companion

Static variables and methods.

Properties

Link copied to clipboard

The color with which the background will be drawn. Default value: "#000000".

Link copied to clipboard

The color with which the background will be drawn. Default value: "#000000".

Link copied to clipboard

The color with which the background will be drawn. Default value: "#000000".

Link copied to clipboard

Transition options for BackgroundColor.

Link copied to clipboard

Controls the intensity of light emitted on the source features. Default value: 0. Minimum value: 0.

Controls the intensity of light emitted on the source features. Default value: 0. Minimum value: 0.

Transition options for BackgroundEmissiveStrength.

Link copied to clipboard

The opacity at which the background will be drawn. Default value: 1. Value range: 0, 1

Link copied to clipboard

The opacity at which the background will be drawn. Default value: 1. Value range: 0, 1

Link copied to clipboard

Transition options for BackgroundOpacity.

Link copied to clipboard

Name of image in sprite to use for drawing an image background. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.

Link copied to clipboard

Name of image in sprite to use for drawing an image background. For seamless patterns, image width and height must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.

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

Visibility of the layer.