#pragma once #include namespace mbgl { namespace style { class GeoJSONSource : public Source { public: // Future public API: // void setData(FeatureCollection&&); // void setJSON(const std::string& json); // void loadData(const std::string& url); // Private implementation class Impl; template GeoJSONSource(Fn&& fn) : Source(SourceType::GeoJSON, fn(*this)) { } }; } // namespace style } // namespace mbgl