Files
MapLibreParticleLab/include/mbgl/style/sources/geojson_source.hpp
2016-06-24 09:39:51 -07:00

24 lines
394 B
C++

#pragma once
#include <mbgl/style/source.hpp>
#include <mbgl/util/geojson.hpp>
namespace mbgl {
namespace style {
class GeoJSONSource : public Source {
public:
GeoJSONSource(const std::string& id);
void setURL(const std::string& url);
void setGeoJSON(GeoJSON&&);
// Private implementation
class Impl;
Impl* const impl;
};
} // namespace style
} // namespace mbgl