summaryrefslogtreecommitdiff
path: root/src/mbgl/annotation/line_annotation_impl.hpp
blob: 7945da5d9790d4df3a675d4a7c92dccea55da312 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include <mbgl/annotation/shape_annotation_impl.hpp>
#include <mbgl/annotation/annotation.hpp>

namespace mbgl {

class LineAnnotationImpl : public ShapeAnnotationImpl {
public:
    LineAnnotationImpl(AnnotationID, LineAnnotation, uint8_t maxZoom);

    void updateStyle(style::Style&) const final;
    const ShapeAnnotationGeometry& geometry() const final;

private:
    const LineAnnotation annotation;
};

} // namespace mbgl