blob: 07e00dc52dfd4145129b039cd1f590c2e5d6cae6 (
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
27
28
29
|
#pragma once
#include <mbgl/style/source.hpp>
#include <mbgl/style/source_impl.hpp>
namespace mbgl {
class AnnotationSource : public style::Source {
public:
AnnotationSource();
class Impl;
};
class AnnotationSource::Impl : public style::Source::Impl {
public:
Impl(Source&);
void loadDescription(FileSource&) final;
optional<Range<uint8_t>> getZoomRange() const final;
private:
uint16_t getTileSize() const final { return util::tileSize; }
std::unique_ptr<Tile> createTile(const OverscaledTileID&, const style::UpdateParameters&) final;
};
} // namespace mbgl
|