summaryrefslogtreecommitdiff
path: root/src/mbgl/annotation/line_annotation_impl.hpp
blob: 548a094d5331cf1aa9e0fc2dd124b2b81d3d4762 (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::Impl&) const final;
    const ShapeAnnotationGeometry& geometry() const final;

private:
    const LineAnnotation annotation;
};

} // namespace mbgl