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

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

#include <string>

namespace mbgl {

class SymbolFeature {
public:
    GeometryCollection geometry;
    optional<std::u32string> text;
    optional<std::string> icon;
    std::size_t index;
};

} // namespace mbgl