summaryrefslogtreecommitdiff
path: root/src/mbgl/tile/geojson_tile.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/tile/geojson_tile.hpp')
-rw-r--r--src/mbgl/tile/geojson_tile.hpp20
1 files changed, 2 insertions, 18 deletions
diff --git a/src/mbgl/tile/geojson_tile.hpp b/src/mbgl/tile/geojson_tile.hpp
index 422101b767..be5a50c7a4 100644
--- a/src/mbgl/tile/geojson_tile.hpp
+++ b/src/mbgl/tile/geojson_tile.hpp
@@ -1,18 +1,7 @@
#pragma once
#include <mbgl/tile/geometry_tile.hpp>
-
-namespace mapbox {
-
-namespace geojsonvt {
-class GeoJSONVT;
-} // namespace geojsonvt
-
-namespace supercluster {
-class Supercluster;
-} // namespace supercluster
-
-} // namespace mapbox
+#include <mbgl/util/feature.hpp>
namespace mbgl {
@@ -25,12 +14,7 @@ public:
GeoJSONTile(const OverscaledTileID&,
std::string sourceID,
const style::UpdateParameters&,
- mapbox::geojsonvt::GeoJSONVT&);
-
- GeoJSONTile(const OverscaledTileID&,
- std::string sourceID,
- const style::UpdateParameters&,
- mapbox::supercluster::Supercluster&);
+ const mapbox::geometry::feature_collection<int16_t>&);
void setNecessity(Necessity) final;
};