summaryrefslogtreecommitdiff
path: root/src/mbgl/layer/line_layer.hpp
blob: 8acd58f01f8313b6f0418414325e1cb0e7142c02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef MBGL_LINE_LAYER
#define MBGL_LINE_LAYER

#include <mbgl/style/style_layer.hpp>
#include <mbgl/style/style_properties.hpp>
#include <mbgl/style/paint_properties_map.hpp>
#include <mbgl/style/class_properties.hpp>

namespace mbgl {

class LineLayer : public StyleLayer {
public:
    void parseLayout(const JSVal&) override;
    void parsePaints(const JSVal&) override;

    void recalculate(const StyleCalculationParameters&) override;

    std::unique_ptr<Bucket> createBucket(StyleBucketParameters&) const override;

    LinePaintProperties properties;
};

}

#endif