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