summaryrefslogtreecommitdiff
path: root/include/mbgl/style/style_layer_group.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/style/style_layer_group.hpp')
-rw-r--r--include/mbgl/style/style_layer_group.hpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/mbgl/style/style_layer_group.hpp b/include/mbgl/style/style_layer_group.hpp
new file mode 100644
index 0000000000..983dd136f0
--- /dev/null
+++ b/include/mbgl/style/style_layer_group.hpp
@@ -0,0 +1,23 @@
+#ifndef MBGL_STYLE_STYLE_LAYER_GROUP
+#define MBGL_STYLE_STYLE_LAYER_GROUP
+
+#include <mbgl/style/style_layer.hpp>
+
+#include <vector>
+
+namespace mbgl {
+
+class StyleLayerGroup {
+public:
+ void setClasses(const std::vector<std::string> &class_names, timestamp now,
+ const PropertyTransition &defaultTransition);
+ void updateProperties(float z, timestamp t);
+
+ bool hasTransitions() const;
+public:
+ std::vector<std::shared_ptr<StyleLayer>> layers;
+};
+
+}
+
+#endif