#include #include namespace mbgl { namespace style { GeoJSONSource::GeoJSONSource(const std::string& id, const GeoJSONOptions options) : Source(SourceType::GeoJSON, std::make_unique(std::move(id), *this, options)), impl(static_cast(baseImpl.get())) { } void GeoJSONSource::setURL(const std::string& url) { impl->setURL(url); } void GeoJSONSource::setGeoJSON(const mapbox::geojson::geojson& geoJSON) { impl->setGeoJSON(geoJSON); } optional GeoJSONSource::getURL() { return impl->getURL(); } } // namespace style } // namespace mbgl