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

source code of qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/style/conversion/geojson.hpp