summaryrefslogtreecommitdiff
path: root/src/mbgl/style/sources/raster_source_impl.hpp
blob: 6f34a050bbed8f428156218b5086b3f430c8a278 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include <mbgl/style/sources/raster_source.hpp>
#include <mbgl/style/tile_source_impl.hpp>

namespace mbgl {
namespace style {

class RasterSource::Impl : public TileSourceImpl {
public:
    Impl(std::string id, Source&, variant<std::string, Tileset>, uint16_t tileSize);

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

} // namespace style
} // namespace mbgl