summaryrefslogtreecommitdiff
path: root/include/mbgl/style/conversion/geojson_options.hpp
blob: f7aee124c910c39324d1be4583e41f1bbd5c2741 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once

#include <mbgl/style/sources/geojson_source.hpp>
#include <mbgl/style/conversion.hpp>
#include <mbgl/util/optional.hpp>

namespace mbgl {
namespace style {
namespace conversion {

template <>
struct Converter<GeoJSONOptions> {
    optional<GeoJSONOptions> operator()(const Convertible& value, Error& error) const;
};

template <>
struct ValueFactory<GeoJSONOptions> {
    static Value make(const GeoJSONOptions&);
};

} // namespace conversion
} // namespace style
} // namespace mbgl