summaryrefslogtreecommitdiff
path: root/src/mbgl/layout/symbol_feature.hpp
blob: e55995f95281e1d52748c0eea4760661b8f43768 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once

#include <mbgl/tile/geometry_tile_data.hpp>
#include <mbgl/util/optional.hpp>

#include <array>
#include <string>

namespace mbgl {

class SymbolFeature {
public:
    FeatureType type;
    GeometryCollection geometry;
    optional<std::u16string> text;
    optional<std::string> icon;
    std::array<float, 2> iconOffset;
    float iconRotation;
    std::size_t index;
};

} // namespace mbgl