diff options
Diffstat (limited to 'src/mbgl/style/style_layer_group.hpp')
-rw-r--r-- | src/mbgl/style/style_layer_group.hpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/mbgl/style/style_layer_group.hpp b/src/mbgl/style/style_layer_group.hpp new file mode 100644 index 0000000000..1af6e23bd7 --- /dev/null +++ b/src/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<util::ptr<StyleLayer>> layers; +}; + +} + +#endif |