linePattern

open override fun linePattern(linePattern: String): LineLayer

Name of image in sprite to use for drawing image lines. For seamless patterns, image width must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.

Use static method LineLayer.defaultLinePattern to set the default property.

Parameters

linePattern

value of linePattern


open override fun linePattern(linePattern: Expression): LineLayer

Name of image in sprite to use for drawing image lines. For seamless patterns, image width must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.

Use static method LineLayer.defaultLinePatternAsExpression to set the default property.

Parameters

linePattern

value of linePattern as Expression


Name of image in sprite to use for drawing image lines. For seamless patterns, image width must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.