diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2014-06-30 17:41:25 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2014-06-30 17:41:25 +0200 |
commit | a6f7696feb466aeeab59d205b4f0b41e04cf9b60 (patch) | |
tree | 23c97fbe0a95785ff158a2ed21250283775d821c /include/llmr/style/applied_class_properties.hpp | |
parent | 18d898fae70681fba8cc31d73b581c360557746c (diff) | |
download | qtlocation-mapboxgl-a6f7696feb466aeeab59d205b4f0b41e04cf9b60.tar.gz |
add interpolation
Diffstat (limited to 'include/llmr/style/applied_class_properties.hpp')
-rw-r--r-- | include/llmr/style/applied_class_properties.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llmr/style/applied_class_properties.hpp b/include/llmr/style/applied_class_properties.hpp index cda3a42a48..0c80b0a173 100644 --- a/include/llmr/style/applied_class_properties.hpp +++ b/include/llmr/style/applied_class_properties.hpp @@ -34,6 +34,10 @@ public: void add(ClassID class_id, timestamp begin, timestamp end, const PropertyValue &value) { properties.emplace_back(class_id, begin, end, value); } + + bool hasTransitions() const { + return properties.size() > 1; + } }; } |