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
Collator Builder
Link copied to clipboard
Builder for Collator expression.
Expression Builder
Link copied to clipboard
Builder for Expression.
Format Builder
Link copied to clipboard
Builder for Formatted TextField.
Format Section Builder
Link copied to clipboard
Builder for a Formatted Section.
Interpolator Builder
Link copied to clipboard
class InterpolatorBuilder(operator: String) : Expression.ExpressionBuilder
Content copied to clipboard
Builder for Interpolate Expression.
Number Format Builder
Link copied to clipboard
Builder for Number Format expression.
Functions
get Contents
Link copied to clipboard
get Literal
Link copied to clipboard
Get the literal value of the expression as given type.
Properties
literalValue
Link copied to clipboard