From cc1ea759a681cadcfd06fd7bdda79ca6deb38c62 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Mon, 15 May 2017 14:09:06 -0700 Subject: [core, node, darwin, android, qt] Make image ID part of Image More like Source and Layer. --- src/mbgl/style/image_impl.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/mbgl/style/image_impl.hpp') diff --git a/src/mbgl/style/image_impl.hpp b/src/mbgl/style/image_impl.hpp index dce4a6e4c0..b088a23261 100644 --- a/src/mbgl/style/image_impl.hpp +++ b/src/mbgl/style/image_impl.hpp @@ -7,7 +7,9 @@ namespace style { class Image::Impl { public: - Impl(PremultipliedImage&&, float pixelRatio, bool sdf = false); + Impl(std::string id, PremultipliedImage&&, float pixelRatio, bool sdf = false); + + const std::string id; PremultipliedImage image; -- cgit v1.2.1