fillPattern

open override fun fillPattern(fillPattern: String): FillLayer

Name of image in sprite to use for drawing image fills. 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.

Use static method FillLayer.defaultFillPattern to set the default property.

Parameters

fillPattern

value of fillPattern


open override fun fillPattern(fillPattern: Expression): FillLayer

Name of image in sprite to use for drawing image fills. 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.

Use static method FillLayer.defaultFillPatternAsExpression to set the default property.

Parameters

fillPattern

value of fillPattern as Expression


Name of image in sprite to use for drawing image fills. 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.