Expression
Mapbox style expression wrapper: holds a JSON-serializable tree (usually a List with an operator in the first element, or a nested structure) compatible with Mapbox’s expression spec.
Use the factory methods on the companion object for common operators (get, interpolate, match, …). Embed inside StyleValue.Expression for data-driven paint properties.
See also
Types
Link copied to clipboard
object Companion
Factory helpers mirroring Mapbox expression operators. Methods return new Expression nodes; combine them or wrap in StyleValue.Expression as needed.
Properties
Link copied to clipboard
Underlying value passed to makeJSONObject for style JSON or debugging.