summaryrefslogtreecommitdiff
path: root/platform/qt/include/qmapboxgl.hpp
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2016-07-08 15:28:56 +0300
committerThiago Marcos P. Santos <thiago@mapbox.com>2016-07-11 17:01:32 +0300
commitabeee2087c151ccc492b2aff60b54dc6f8ec9fd1 (patch)
treefb614c3289304c915e1476e12ee7c73ed36de712 /platform/qt/include/qmapboxgl.hpp
parentabff8e42c1c0c4725def0e3bc0cb5e5a029bff21 (diff)
downloadqtlocation-mapboxgl-abeee2087c151ccc492b2aff60b54dc6f8ec9fd1.tar.gz
[Qt] Added add/remove style source method
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 e1dcbfff14..e95dc84550 100644
--- a/platform/qt/include/qmapboxgl.hpp
+++ b/platform/qt/include/qmapboxgl.hpp
@@ -199,6 +199,9 @@ public:
void setMargins(const QMargins &margins);
QMargins margins() const;
+ void addSource(const QString& sourceID, const QVariant& value);
+ void removeSource(const QString& sourceID);
+
void addCustomLayer(const QString &id,
QMapbox::CustomLayerInitializeFunction,
QMapbox::CustomLayerRenderFunction,