#pragma once #include #include #include namespace mbgl { namespace style { class RasterSource : public Source { public: RasterSource(std::string id, variant urlOrTileset, uint16_t tileSize); optional getURL() const; // Private implementation class Impl; Impl* const impl; }; template <> inline bool Source::is() const { return type == SourceType::Raster; } } // namespace style } // namespace mbgl