diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2019-12-10 17:38:21 +0100 |
---|---|---|
committer | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2020-01-15 15:02:11 +0200 |
commit | 5a1e4c6b816ef495e53e54f563ecfcef3c5839aa (patch) | |
tree | f5654a0a5f9c517170b231dfb23ec4d430479761 /include/mbgl | |
parent | 027e803b722301a03e9ef53b584c2795ff47e7bd (diff) | |
download | qtlocation-mapboxgl-5a1e4c6b816ef495e53e54f563ecfcef3c5839aa.tar.gz |
[core] implement stretchable icons for icon-text-fit
Diffstat (limited to 'include/mbgl')
-rw-r--r-- | include/mbgl/style/image.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbgl/style/image.hpp b/include/mbgl/style/image.hpp index bbea081c71..0d9c863e85 100644 --- a/include/mbgl/style/image.hpp +++ b/include/mbgl/style/image.hpp @@ -65,7 +65,7 @@ public: const ImageStretches& getStretchY() const; // The space where text can be fit into this image. - const ImageContent& getContent() const; + const optional<ImageContent>& getContent() const; class Impl; Immutable<Impl> baseImpl; |