Background Layer
@UiThread()
Content copied to clipboard
The background color or pattern of the map.
See also
Parameters
layerId
the ID of the layer
Constructors
BackgroundLayer
Link copied to clipboard
the ID of the layer
Types
Functions
backgroundColor
Link copied to clipboard
open override fun backgroundColor(backgroundColor: Expression): BackgroundLayer
Content copied to clipboard
open override fun backgroundColor(@ColorInt() backgroundColor: Int): BackgroundLayer
Content copied to clipboard
open override fun backgroundColor(backgroundColor: String): BackgroundLayer
Content copied to clipboard
backgroundColorTransition
Link copied to clipboard
open override fun backgroundColorTransition(options: StyleTransition): BackgroundLayer
Content copied to clipboard
open override fun backgroundColorTransition(block: StyleTransition.Builder.() -> Unit): BackgroundLayer
Content copied to clipboard
DSL for backgroundColorTransition.
backgroundOpacity
Link copied to clipboard
open override fun backgroundOpacity(backgroundOpacity: Expression): BackgroundLayer
Content copied to clipboard
open override fun backgroundOpacity(backgroundOpacity: Double): BackgroundLayer
Content copied to clipboard
backgroundOpacityTransition
Link copied to clipboard
open override fun backgroundOpacityTransition(options: StyleTransition): BackgroundLayer
Content copied to clipboard
open override fun backgroundOpacityTransition(block: StyleTransition.Builder.() -> Unit): BackgroundLayer
Content copied to clipboard
DSL for backgroundOpacityTransition.
backgroundPattern
Link copied to clipboard
open override fun backgroundPattern(backgroundPattern: Expression): BackgroundLayer
Content copied to clipboard
open override fun backgroundPattern(backgroundPattern: String): BackgroundLayer
Content copied to clipboard
backgroundPatternTransition
Link copied to clipboard
open override fun backgroundPatternTransition(options: StyleTransition): BackgroundLayer
Content copied to clipboard
open override fun backgroundPatternTransition(block: StyleTransition.Builder.() -> Unit): BackgroundLayer
Content copied to clipboard
DSL for backgroundPatternTransition.
bindTo
Link copied to clipboard
open override fun bindTo(delegate: StyleInterface, position: LayerPosition?)
Content copied to clipboard
maxZoom
Link copied to clipboard
minZoom
Link copied to clipboard
visibility
Link copied to clipboard
Properties
backgroundColor
Link copied to clipboard
backgroundColorAsColorInt
Link copied to clipboard
backgroundColorAsExpression
Link copied to clipboard
backgroundColorTransition
Link copied to clipboard
backgroundOpacity
Link copied to clipboard
backgroundOpacityAsExpression
Link copied to clipboard
backgroundOpacityTransition
Link copied to clipboard
backgroundPattern
Link copied to clipboard
backgroundPatternAsExpression
Link copied to clipboard
backgroundPatternTransition
Link copied to clipboard
visibility
Link copied to clipboard