summaryrefslogtreecommitdiff
path: root/include/mbgl/style/sources/geojson_source.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/style/sources/geojson_source.hpp')
-rw-r--r--include/mbgl/style/sources/geojson_source.hpp19
1 files changed, 1 insertions, 18 deletions
diff --git a/include/mbgl/style/sources/geojson_source.hpp b/include/mbgl/style/sources/geojson_source.hpp
index ede0301725..5b39d7821b 100644
--- a/include/mbgl/style/sources/geojson_source.hpp
+++ b/include/mbgl/style/sources/geojson_source.hpp
@@ -4,26 +4,9 @@
#include <mbgl/util/geojson.hpp>
#include <mbgl/util/optional.hpp>
-#include <mapbox/geojson.hpp>
-
-namespace mapbox {
-
-namespace geojsonvt {
-class GeoJSONVT;
-} // namespace geojsonvt
-
-namespace supercluster {
-class Supercluster;
-} // namespace supercluster
-
-} // namespace mapbox
-
namespace mbgl {
namespace style {
-using GeoJSONVTPointer = std::unique_ptr<mapbox::geojsonvt::GeoJSONVT>;
-using SuperclusterPointer = std::unique_ptr<mapbox::supercluster::Supercluster>;
-
struct GeoJSONOptions {
// GeoJSON-VT options
uint8_t maxzoom = 18;
@@ -38,7 +21,7 @@ struct GeoJSONOptions {
class GeoJSONSource : public Source {
public:
- GeoJSONSource(const std::string& id, const GeoJSONOptions options_ = GeoJSONOptions());
+ GeoJSONSource(const std::string& id, const GeoJSONOptions& = {});
void setURL(const std::string& url);
void setGeoJSON(const GeoJSON&);