diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-08-25 17:54:02 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-08-26 10:30:55 -0700 |
commit | f07f59207825206172ac8aa46a74ea797d287ce7 (patch) | |
tree | 40db24112c08adc271719291941cd7fafdf980f6 /src/mbgl/tile/geojson_tile.hpp | |
parent | d2abb1b6d5cc129acaadab15152ae286b989d9ba (diff) | |
download | qtlocation-mapboxgl-f07f59207825206172ac8aa46a74ea797d287ce7.tar.gz |
[core] Simplify GeoJSONTile constructor
Diffstat (limited to 'src/mbgl/tile/geojson_tile.hpp')
-rw-r--r-- | src/mbgl/tile/geojson_tile.hpp | 20 |
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; }; |