Expression
An expression defines a formula for computing the value of any layout property, paint property, or filter within a map style. Expressions allow you to style data with multiple feature properties at once, apply conditional logic, and manipulate data with mathematical, logical, and string operators. This allows for sophisticated runtime styling.
Types
CollatorBuilder
Link copied to clipboard
Builder for Collator expression.
ExpressionBuilder
Link copied to clipboard
Builder for Expression.
FormatBuilder
Link copied to clipboard
Builder for Formatted TextField.
FormatSectionBuilder
Link copied to clipboard
Builder for a Formatted Section.
InterpolatorBuilder
Link copied to clipboard
class InterpolatorBuilder(operator: String) : Expression.ExpressionBuilder
Content copied to clipboard
Builder for Interpolate Expression.
NumberFormatBuilder
Link copied to clipboard
Builder for Number Format expression.
Functions
getContents
Link copied to clipboard
getLiteral
Link copied to clipboard
Get the literal value of the expression as given type.