This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add supercluster dependency * prepare GeoJSONTile for Supercluster * prepare GeoJSONSource for accepting options * try removing mbgl::GeoJSON * fix setGeoJSON types * add GeoJSONSource getURL * add geojson to include path * add Supercluster index in GeoJSONSource * fix GeoJSONSource getZoomRange * bring back mbgl::GeoJSON header * fix tidy warnings hopefully * try test-suite with enabled cluster test * fix formatting in clustering-related files
- Loading branch information
Showing
22 changed files
with
294 additions
and
133 deletions.
There are no files selected for viewing
Submodule .mason
updated
8 files
+0 −1 | .travis.yml | |
+23 −4 | README.md | |
+2 −0 | mason | |
+39 −58 | mason.sh | |
+12 −2 | scripts/libpng/1.6.20/script.sh | |
+15 −0 | scripts/supercluster/0.2.0/.travis.yml | |
+34 −0 | scripts/supercluster/0.2.0/script.sh | |
+14 −17 | test/cpp11_header_install.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,10 @@ | ||
#pragma once | ||
|
||
#include <memory> | ||
|
||
namespace mapbox { | ||
namespace geojsonvt { | ||
class GeoJSONVT; | ||
} // namespace geojsonvt | ||
} // namespace mapbox | ||
#include <mapbox/geojson.hpp> | ||
|
||
namespace mbgl { | ||
|
||
class GeoJSON { | ||
public: | ||
GeoJSON(std::unique_ptr<mapbox::geojsonvt::GeoJSONVT>); | ||
GeoJSON(GeoJSON&&); | ||
~GeoJSON(); | ||
|
||
std::unique_ptr<mapbox::geojsonvt::GeoJSONVT> impl; | ||
}; | ||
using GeoJSON = mapbox::geojson::geojson; | ||
using FeatureCollection = mapbox::geojson::feature_collection; | ||
|
||
} // namespace mbgl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.