summaryrefslogtreecommitdiff
path: root/platform/qt/include/qmapboxgl.hpp
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2016-09-13 18:40:11 -0700
committerThiago Marcos P. Santos <thiago@mapbox.com>2016-09-23 16:43:37 +0300
commit746bb678c8a16919adae94ac4cd1ccc8433c1b8c (patch)
tree6a6f4d30e3aa4d64991892c0b6d60c148faaccf5 /platform/qt/include/qmapboxgl.hpp
parentc4420d081cb2678fb970a85eeae8645cf07deb8c (diff)
downloadqtlocation-mapboxgl-746bb678c8a16919adae94ac4cd1ccc8433c1b8c.tar.gz
[Qt] Add API for adding icon to the style
Diffstat (limited to 'platform/qt/include/qmapboxgl.hpp')
-rw-r--r--platform/qt/include/qmapboxgl.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/qt/include/qmapboxgl.hpp b/platform/qt/include/qmapboxgl.hpp
index bab46fd096..cb9bf1a2d5 100644
--- a/platform/qt/include/qmapboxgl.hpp
+++ b/platform/qt/include/qmapboxgl.hpp
@@ -202,6 +202,9 @@ public:
void addSource(const QString &sourceID, const QVariantMap& params);
void removeSource(const QString &sourceID);
+ void addImage(const QString &name, const QImage &sprite);
+ void removeImage(const QString &name);
+
void addCustomLayer(const QString &id,
QMapbox::CustomLayerInitializeFunction,
QMapbox::CustomLayerRenderFunction,