summaryrefslogtreecommitdiff
path: root/src/mbgl/style/sources/raster_source_impl.hpp
blob: c41d5485b20c6af6549e8aae1b987eedfa9e242e (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/sources/raster_source.hpp>
#include <mbgl/style/source_impl.hpp>

namespace mbgl {
namespace style {

class RasterSource::Impl : public Source::Impl {
public:
    Impl(std::string id, uint16_t tileSize);
    Impl(const Impl&, Tileset);

    optional<Tileset> getTileset() const;
    uint16_t getTileSize() const;

    optional<std::string> getAttribution() const final;

private:
    uint16_t tileSize;
    optional<Tileset> tileset;
};

} // namespace style
} // namespace mbgl