summaryrefslogtreecommitdiff
path: root/src/mbgl/layout/symbol_feature.hpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-09-13 13:50:27 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-09-16 09:00:54 -0700
commita8dd1bbbb8f9053923179fd45b2dfcbb86e3f474 (patch)
treefac3c39d91b7060ff1659e55df64cd7f8a8143df /src/mbgl/layout/symbol_feature.hpp
parent1f375581c3a31adea9281a7494a73e5c8f1c9a17 (diff)
downloadqtlocation-mapboxgl-a8dd1bbbb8f9053923179fd45b2dfcbb86e3f474.tar.gz
[core] Move SymbolInstance and SymbolFeature into their own files
Diffstat (limited to 'src/mbgl/layout/symbol_feature.hpp')
-rw-r--r--src/mbgl/layout/symbol_feature.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/mbgl/layout/symbol_feature.hpp b/src/mbgl/layout/symbol_feature.hpp
new file mode 100644
index 0000000000..3b4eb78d86
--- /dev/null
+++ b/src/mbgl/layout/symbol_feature.hpp
@@ -0,0 +1,17 @@
+#pragma once
+
+#include <mbgl/tile/geometry_tile_data.hpp>
+
+#include <string>
+
+namespace mbgl {
+
+class SymbolFeature {
+public:
+ GeometryCollection geometry;
+ std::u32string label;
+ std::string sprite;
+ std::size_t index;
+};
+
+} // namespace mbgl