summaryrefslogtreecommitdiff
path: root/src/mbgl/style/image_impl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/style/image_impl.hpp')
-rw-r--r--src/mbgl/style/image_impl.hpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mbgl/style/image_impl.hpp b/src/mbgl/style/image_impl.hpp
index e439e42695..54b5e6487b 100644
--- a/src/mbgl/style/image_impl.hpp
+++ b/src/mbgl/style/image_impl.hpp
@@ -26,8 +26,13 @@ public:
} // namespace style
+enum class ImageType : bool {
+ Icon,
+ Pattern
+};
+
using ImageMap = std::unordered_map<std::string, Immutable<style::Image::Impl>>;
-using ImageDependencies = std::set<std::string>;
+using ImageDependencies = std::unordered_map<std::string, ImageType>;
using ImageRequestPair = std::pair<ImageDependencies, uint64_t>;
} // namespace mbgl