diff options
Diffstat (limited to 'src/mbgl/style/style_parser.hpp')
-rw-r--r-- | src/mbgl/style/style_parser.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mbgl/style/style_parser.hpp b/src/mbgl/style/style_parser.hpp index 58c4d736f2..3a0d0fb6b4 100644 --- a/src/mbgl/style/style_parser.hpp +++ b/src/mbgl/style/style_parser.hpp @@ -28,9 +28,11 @@ public: std::vector<std::unique_ptr<Source>> sources; std::vector<std::unique_ptr<StyleLayer>> layers; - static std::unique_ptr<mapbox::geojsonvt::GeoJSONVT> parseGeoJSON(const JSValue&); + static std::unique_ptr<SourceInfo> parseTileJSON(const std::string& json, const std::string& sourceURL); static std::unique_ptr<SourceInfo> parseTileJSON(const JSValue&); + static std::unique_ptr<mapbox::geojsonvt::GeoJSONVT> parseGeoJSON(const JSValue&); + private: void parseSources(const JSValue&); void parseLayers(const JSValue&); |