summaryrefslogtreecommitdiff
path: root/src/mbgl/tile/annotation_tile_data.hpp
blob: 7995091a2f23653e30d7faab231aecf4f55f51b4 (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
26
#pragma once

#include <mbgl/tile/geometry_tile_data.hpp>

namespace mbgl {

class TileSource;

namespace style {
class UpdateParameters;
}

class AnnotationTileData : public GeometryTileData {
public:
    AnnotationTileData(const OverscaledTileID&,
                       std::string sourceID,
                       const style::UpdateParameters&);
    ~AnnotationTileData();

    void setNecessity(Necessity) final;

private:
    std::unique_ptr<TileSource> tileSource;
};

} // namespace mbgl