1 | #pragma once |
---|---|
2 | |
3 | #include <mbgl/style/conversion.hpp> |
4 | #include <mbgl/util/geojson.hpp> |
5 | |
6 | namespace mbgl { |
7 | namespace style { |
8 | namespace conversion { |
9 | |
10 | // Workaround until https://github.com/mapbox/mapbox-gl-native/issues/5623 is done. |
11 | optional<GeoJSON> parseGeoJSON(const std::string&, Error&); |
12 | |
13 | template <> |
14 | struct Converter<GeoJSON> { |
15 | public: |
16 | optional<GeoJSON> operator()(const Convertible&, Error&) const; |
17 | }; |
18 | |
19 | } // namespace conversion |
20 | } // namespace style |
21 | } // namespace mbgl |
22 |