From bb846fd6cdff84e71741de9428a00137fd5f73a8 Mon Sep 17 00:00:00 2001 From: Anand Thakker Date: Wed, 8 Mar 2017 11:53:44 -0500 Subject: For data-driven paint setters, transition immediately to target value (#8306) Closes #8237 --- include/mbgl/style/property_value.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'include/mbgl/style/property_value.hpp') diff --git a/include/mbgl/style/property_value.hpp b/include/mbgl/style/property_value.hpp index e784633aa7..1b7429dae6 100644 --- a/include/mbgl/style/property_value.hpp +++ b/include/mbgl/style/property_value.hpp @@ -29,6 +29,7 @@ public: bool isUndefined() const { return value.which() == 0; } bool isConstant() const { return value.which() == 1; } bool isCameraFunction() const { return value.which() == 2; } + bool isDataDriven() const { return false; } const T & asConstant() const { return value.template get< T >(); } const CameraFunction& asCameraFunction() const { return value.template get>(); } -- cgit v1.2.1