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
Builder
Link copied to clipboard
CollatorBuilder
Link copied to clipboard
ExpressionBuilder
Link copied to clipboard
FormatBuilder
Link copied to clipboard
FormatSectionBuilder
Link copied to clipboard
InterpolatorBuilder
Link copied to clipboard
class InterpolatorBuilder(operator: String) : Expression.ExpressionBuilder
Content copied to clipboard
NumberFormatBuilder
Link copied to clipboard
Functions
buildJson
Link copied to clipboard
equals
Link copied to clipboard
getContents
Link copied to clipboard
getLiteral
Link copied to clipboard
toJson
Link copied to clipboard
Properties
literalValue
Link copied to clipboard
Return Expression as literal Value.
Return null if the expression is not literal.