summaryrefslogtreecommitdiff
path: root/src/mbgl/layout/symbol_feature.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/layout/symbol_feature.hpp')
-rw-r--r--src/mbgl/layout/symbol_feature.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mbgl/layout/symbol_feature.hpp b/src/mbgl/layout/symbol_feature.hpp
index 03d8e5018d..d0aced1b19 100644
--- a/src/mbgl/layout/symbol_feature.hpp
+++ b/src/mbgl/layout/symbol_feature.hpp
@@ -1,8 +1,9 @@
#pragma once
+#include <mbgl/style/expression/image.hpp>
+#include <mbgl/text/tagged_string.hpp>
#include <mbgl/tile/geometry_tile_data.hpp>
#include <mbgl/util/optional.hpp>
-#include <mbgl/text/tagged_string.hpp>
#include <array>
#include <string>
@@ -29,7 +30,7 @@ public:
std::unique_ptr<GeometryTileFeature> feature;
GeometryCollection geometry;
optional<TaggedString> formattedText;
- optional<std::string> icon;
+ optional<style::expression::Image> icon;
float sortKey = 0.0f;
std::size_t index;
bool allowsVerticalWritingMode = false;