backgroundPatternTransition

abstract fun backgroundPatternTransition(options: StyleTransition): BackgroundLayer

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.

Set the BackgroundPattern property transition options

Parameters

options

transition options for String

abstract fun backgroundPatternTransition(block: StyleTransition.Builder.() -> Unit): BackgroundLayer

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.

DSL for backgroundPatternTransition.