summaryrefslogtreecommitdiff
path: root/include/mbgl/style/property_expression.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/style/property_expression.hpp')
-rw-r--r--include/mbgl/style/property_expression.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/mbgl/style/property_expression.hpp b/include/mbgl/style/property_expression.hpp
index 7dcd818dde..7439ac9ca1 100644
--- a/include/mbgl/style/property_expression.hpp
+++ b/include/mbgl/style/property_expression.hpp
@@ -21,6 +21,11 @@ public:
Range<float> getCoveringStops(const float, const float) const noexcept;
const expression::Expression& getExpression() const noexcept;
+ // Can be used for aggregating property expressions from multiple
+ // properties(layers) into single match / case expression. Method may
+ // be removed if a better way of aggregation is found.
+ std::shared_ptr<const expression::Expression> getSharedExpression() const noexcept;
+
bool useIntegerZoom = false;
protected: