summaryrefslogtreecommitdiff
path: root/include/mbgl/style/expression/within.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/style/expression/within.hpp')
-rw-r--r--include/mbgl/style/expression/within.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mbgl/style/expression/within.hpp b/include/mbgl/style/expression/within.hpp
index 88e9cc56b8..5cc36ab19c 100644
--- a/include/mbgl/style/expression/within.hpp
+++ b/include/mbgl/style/expression/within.hpp
@@ -31,10 +31,10 @@ public:
return false;
}
- std::vector<optional<Value>> possibleOutputs() const override { return {{false}}; }
+ std::vector<optional<Value>> possibleOutputs() const override { return {{true}, {false}}; }
mbgl::Value serialize() const override;
- std::string getOperator() const override { return "Within"; }
+ std::string getOperator() const override { return "within"; }
private:
GeoJSON geoJSONSource;