diff options
Diffstat (limited to 'src/mbgl/style/conversion/filter.cpp')
-rw-r--r-- | src/mbgl/style/conversion/filter.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mbgl/style/conversion/filter.cpp b/src/mbgl/style/conversion/filter.cpp index 1b77985322..f3e7050ccc 100644 --- a/src/mbgl/style/conversion/filter.cpp +++ b/src/mbgl/style/conversion/filter.cpp @@ -207,6 +207,9 @@ ParseResult convertLegacyFilter(const Convertible& values, Error& error) { return nullopt; } else if (arrayLength(values) <= 1) { return {std::make_unique<Literal>(*op != "any")}; + } else if (*op == "within") { + expression::ParsingContext ctx; + return ctx.parseExpression(values); } else { return { *op == "==" || |