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.
-
The operator of this expression
-
The arguments contained in this expression
-
-
Create an operator-only expression.
-
Initialize an expression with an operator and arguments
-
-
-
-
An
See moreExpressionElement
can be either aop
(associated with aString
) OR anargument
(associated with anExpressionArgument
) -
An
See moreExpressionArgument
is either a literal (associated with a double, string, boolean, or null value) or anotherExpression