MTBackgroundLayer
The background style layer covers the entire map. Use it to configure a color or pattern rendered beneath all other map content. If the background layer is transparent or omitted, any area not covered by another layer is transparent.
Constructors
constructor(identifier: String, type: MTLayerType, maxZoom: Double?, minZoom: Double?, color: Int?, opacity: Double?, pattern: String?, visibility: MTLayerVisibility)
Properties
The color with which the background will be drawn. Defaults to black. Disabled by pattern.
Unique layer identifier.
Background layers do not have a source. Kept only to satisfy MTLayer contract and excluded from serialization.
Source layer is not applicable for background layers. Excluded from serialization.
Type of the layer. Always MTLayerType.BACKGROUND.
Whether this layer is displayed.