textFont

If set, the text-font argument overrides the font specified by the root layout properties.

<p> "text-font" is required to be a literal array. <p> The requested font stack has to be a part of the used style. For more information see [The online documentation](https://www.mapbox.com/help/define-font-stack/).

Parameters

textFont

fun textFont(textFont: List<String>): Expression.FormatSectionBuilder

If set, the text-font argument overrides the font specified by the root layout properties.

<p> "text-font" is required to be a literal array. <p> The requested font stack has to be a part of the used style. For more information see [The online documentation](https://www.mapbox.com/help/define-font-stack/).

Parameters

textFont

fun textFont(textFont: Expression): Expression.FormatSectionBuilder

If set, the text-font argument overrides the font specified by the root layout properties.

<p> "text-font" is required to be a literal array. <p> The requested font stack has to be a part of the used style. For more information see [The online documentation](https://www.mapbox.com/help/define-font-stack/).

fun textFont(block: Expression.ExpressionBuilder.() -> Unit): Expression.FormatSectionBuilder