blob: 9bb951992c41bb4755db3dedf306c50a25503b38 (
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
|
#pragma once
#include <mbgl/style/source.hpp>
#include <mbgl/util/tileset.hpp>
#include <mbgl/util/variant.hpp>
namespace mbgl {
namespace style {
class RasterSource : public Source {
public:
RasterSource(std::string id, variant<std::string, Tileset> urlOrTileset, uint16_t tileSize);
// Private implementation
class Impl;
};
template <>
inline bool Source::is<RasterSource>() const {
return type == SourceType::Raster;
}
} // namespace style
} // namespace mbgl
|