diff options
Diffstat (limited to 'src/mbgl/style/sources/raster_source_impl.hpp')
-rw-r--r-- | src/mbgl/style/sources/raster_source_impl.hpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/mbgl/style/sources/raster_source_impl.hpp b/src/mbgl/style/sources/raster_source_impl.hpp new file mode 100644 index 0000000000..2222b13082 --- /dev/null +++ b/src/mbgl/style/sources/raster_source_impl.hpp @@ -0,0 +1,20 @@ +#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: + static std::unique_ptr<RasterSource> parse(std::string id, const JSValue&); + + 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 |