From 3f0c89d633a5056006557ad5f4b9e446807d00ee Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Thu, 20 Apr 2017 17:11:50 -0700 Subject: [core] Refactor Source::*Impls into RenderSources and TilePyramid --- include/mbgl/style/source.hpp | 1 - include/mbgl/style/sources/geojson_source.hpp | 19 +------------------ 2 files changed, 1 insertion(+), 19 deletions(-) (limited to 'include/mbgl') diff --git a/include/mbgl/style/source.hpp b/include/mbgl/style/source.hpp index e49f1fc273..66fc2afd25 100644 --- a/include/mbgl/style/source.hpp +++ b/include/mbgl/style/source.hpp @@ -56,7 +56,6 @@ public: std::unique_ptr copy(const std::string& id) const; optional getAttribution() const; - optional> getZoomRange() const; // Private implementation class Impl; 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 #include -#include - -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; -using SuperclusterPointer = std::unique_ptr; - 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&); -- cgit v1.2.1