Expression
A Mapbox-compatible expression tree (e.g. ["get", "mag"], ["interpolate", ...]).
Properties
Link copied to clipboard
The Constant.value when this is a Constant; otherwise null.
Link copied to clipboard
Root expression node; serializes with com.xweather.mapsgl.style.Expression.toJSONObject.
Link copied to clipboard
The wrapped com.xweather.mapsgl.style.Expression when this is a StyleValue.Expression; otherwise null.
Link copied to clipboard
JSON-ready representation: constants pass through makeJSONObject, expressions through com.xweather.mapsgl.style.Expression.toJSONObject. Useful for debugging or custom style serialization.