summaryrefslogtreecommitdiff
path: root/src/mbgl/style/property_value.hpp
blob: f225899c6617afaac209e4b62798c5c4e4486f05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#ifndef MBGL_STYLE_PROPERTY_VALUE
#define MBGL_STYLE_PROPERTY_VALUE

#include <mapbox/variant.hpp>

#include <mbgl/style/function_properties.hpp>
#include <mbgl/style/piecewisefunction_properties.hpp>
#include <mbgl/style/types.hpp>

#include <vector>
#include <array>

namespace mbgl {

typedef mapbox::util::variant<
    Function<std::string>,
    Function<TranslateAnchorType>,
    Function<RotateAnchorType>,
    Function<CapType>,
    Function<JoinType>,
    VisibilityType,
    Function<PlacementType>,
    Function<RotationAlignmentType>,
    Function<TextTransformType>,
    Function<TextJustifyType>,
    Function<TextAnchorType>,
    Function<std::array<float, 2>>,
    Function<bool>,
    Function<float>,
    Function<Color>,
    PiecewiseConstantFunction<Faded<std::vector<float>>>,
    PiecewiseConstantFunction<Faded<std::string>>
> PropertyValue;

}

#endif