summaryrefslogtreecommitdiff
path: root/platform/qt/include/qmapboxgl.hpp
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2016-12-13 19:48:18 -0200
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2016-12-14 14:21:20 -0200
commit8f24119bd0eb8e5e03f9d8c4422c5bcb3baeafce (patch)
tree5a45a926948edf08b53129f35ef20fc25fdadc52 /platform/qt/include/qmapboxgl.hpp
parent070a9b43e1af240968f7db6447d4443577aced4a (diff)
downloadqtlocation-mapboxgl-8f24119bd0eb8e5e03f9d8c4422c5bcb3baeafce.tar.gz
[Qt] Implement updateSource
It will create or update a source. Right now only GeoJSON sources are mutable and can be updated using this method.
Diffstat (limited to 'platform/qt/include/qmapboxgl.hpp')
-rw-r--r--platform/qt/include/qmapboxgl.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/qt/include/qmapboxgl.hpp b/platform/qt/include/qmapboxgl.hpp
index 2361b78f8f..8a77bbffab 100644
--- a/platform/qt/include/qmapboxgl.hpp
+++ b/platform/qt/include/qmapboxgl.hpp
@@ -186,6 +186,7 @@ public:
QMargins margins() const;
void addSource(const QString &sourceID, const QVariantMap& params);
+ void updateSource(const QString &sourceID, const QVariantMap& params);
void removeSource(const QString &sourceID);
void addImage(const QString &name, const QImage &sprite);