summaryrefslogtreecommitdiff
path: root/include/mbgl/style/style_layer_group.hpp
blob: 1af6e23bd744bc106910b504b6cc27f0bac71330 (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<util::ptr<StyleLayer>> layers;
};

}

#endif