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

#include <mbgl/style/source.hpp>

namespace mbgl {

class AnnotationSource : public style::Source {
public:
    AnnotationSource();

    void load(FileSource&) final;

private:
    uint16_t getTileSize() const final { return util::tileSize; }
    Range<uint8_t> getZoomRange() final;

    std::unique_ptr<Tile> createTile(const OverscaledTileID&, const style::UpdateParameters&) final;
};

} // namespace mbgl