Background Layer
@Composable
The background layer just draws the map background, by default, plain black.
Parameters
id
Unique layer name.
min Zoom
The minimum zoom level for the layer. At zoom levels less than this, the layer will be hidden. A value in the range of [0..24].
max Zoom
The maximum zoom level for the layer. At zoom levels equal to or greater than this, the layer will be hidden. A value in the range of [0..24].
visible
Whether the layer should be displayed.
opacity
Background opacity. A value in range [0..1].
color
Background color.
Ignored if pattern is specified.
pattern
Image to use for drawing image fills. 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.