This is the list of all expression types in Maplibre styles. We want eventually to support correct rendering for all these properties, so we need to convert all of them into Galileo Expr. For some of the expressions this is straightforward (like math functions), others would need some deep considerations first (like heatmap temperature).
If you want to help with this list
- pick an item
- implement Galileo counterpart
- add unit tests to confirm it works
- add it to the parser
- add unit tests for parser
- add conversion method from ML to Galileo
- visually confirm that the style using this value is rendered correctly (e.g. same in
just mljs as in just ml).
Variable binding
Ramps / Curves
Lookup
Decision
Math
Color
Type operators
Feature data
Camera
Heatmap
Color relief
String
This is the list of all expression types in Maplibre styles. We want eventually to support correct rendering for all these properties, so we need to convert all of them into Galileo
Expr. For some of the expressions this is straightforward (like math functions), others would need some deep considerations first (like heatmap temperature).If you want to help with this list
just mljsas injust ml).Variable binding
letvarRamps / Curves
stepinterpolateinterpolate-hclinterpolate-labLookup
gethas!hasatin!inindex-ofslicelengthglobal-stateDecision
casematchcoalesceallany!==!=>>=<<=withinMath
+*-/%^sqrtabsceilfloorroundminmaxlog2log10lnsincostanasinacosatanln2piedistanceColor
rgbrgbato-rgbaType operators
literal(bare JSON primitive viaLiteral)literal(array/object wrapper viaLiteralExpr)typeofto-stringto-numberto-booleanto-colornumberstringbooleanobjectarraycollatorformatimagenumber-formatFeature data
feature-stategeometry-typeidpropertiesaccumulatedline-progressCamera
zoomHeatmap
heatmap-densityColor relief
elevationString
upcasedowncaseconcatis-supported-scriptresolved-localesplitjoin