summaryrefslogtreecommitdiff
path: root/src/mbgl/style/expression/match.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Align match behavior with case/==John Firebaugh2018-05-181-2/+16
| | | | Makes `["match", ["get", k], label, match, otherwise]` equivalent to `["case", ["==", ["get", k], label], match, otherwise]`. This changes the behavior of match expressions where the runtime type of the input does not match the type of the labels: previously such expressions produced a runtime type error and then fell back to the property default value; now they produce the fallback value from the match expression.
* [core] Implement Expression::serialize()Chris Loer2018-02-161-0/+36
| | | | | | | | Issue #10714 - Each expression stores its operator as a string, and default serialization is [operator, serialize(child1), ...] - Custom implementations of `serialize` for Expression types that don't follow the pattern - expression::Value -> mbgl::Value converter - node_expression bindings to expose `serialize`
* [core, ios, macos, android] Add data-driven-styling support for `text-font`John Firebaugh2018-01-101-0/+14
|
* [core] Fix build on Android + GCC and Android + armeabiThiago Marcos P. Santos2017-11-121-4/+5
| | | | Sadly we don't have bots for these two setups.
* Implement Expressions (#9439)Anand Thakker2017-11-081-0/+262
Ports https://github.com/mapbox/mapbox-gl-js/pull/4777 (and its several follow-ups)