1#pragma once
2
3#include <mbgl/style/layer.hpp>
4#include <mbgl/style/conversion.hpp>
5
6#include <memory>
7
8namespace mbgl {
9namespace style {
10namespace conversion {
11
12template <>
13struct Converter<std::unique_ptr<Layer>> {
14public:
15 optional<std::unique_ptr<Layer>> operator()(const Convertible& value, Error& error) const;
16};
17
18optional<Error> setLayoutProperty(Layer& layer, const std::string& name, const Convertible& value);
19optional<Error> setPaintProperty(Layer& layer, const std::string& name, const Convertible& value);
20optional<Error> setPaintProperties(Layer& layer, const Convertible& value);
21
22} // namespace conversion
23} // namespace style
24} // namespace mbgl
25

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