Background Layer
The background color or pattern of the map.
See also
Parameters
Constructors
the ID of the layer
Types
Functions
Properties
The color with which the background will be drawn.
The color with which the background will be drawn.
This is an Expression representation of "background-color".
The color with which the background will be drawn.
Transition options for BackgroundColor.
The opacity at which the background will be drawn.
This is an Expression representation of "background-opacity".
The opacity at which the background will be drawn.
Transition options for 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.
This is an Expression representation of "background-pattern".
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.
Transition options for BackgroundPattern.
Properties of this layer.
Visibility of the layer.