summaryrefslogtreecommitdiff
path: root/include/mbgl/style/style_layer_group.hpp
blob: 983dd136f0a070bf0046103071f3a3bdad4bea32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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