Background Layer
The background color or pattern of the map.
See also
Parameters
the ID of the layer, by default, a random id will be generated with UUID.
The color with which the background will be drawn.
Defines the transition of backgroundColor.
Controls the intensity of light emitted on the source features.
Defines the transition of backgroundEmissiveStrength.
The opacity at which the background will be drawn.
Defines the transition of backgroundOpacity.
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.
Whether this layer is displayed.
The minimum zoom level for the layer. At zoom levels less than the minzoom, the layer will be hidden.
The maximum zoom level for the layer. At zoom levels equal to or greater than the maxzoom, the layer will be hidden.