Constant
A single literal value written directly into style JSON (not wrapped in an expression operator).
Properties
Link copied to clipboard
The Constant.value when this is a Constant; otherwise null.
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.