diff options
author | Thiago Marcos P. Santos <thiago@mapbox.com> | 2016-07-08 15:28:56 +0300 |
---|---|---|
committer | Thiago Marcos P. Santos <thiago@mapbox.com> | 2016-07-11 17:01:32 +0300 |
commit | abeee2087c151ccc492b2aff60b54dc6f8ec9fd1 (patch) | |
tree | fb614c3289304c915e1476e12ee7c73ed36de712 /platform/qt/include/qmapboxgl.hpp | |
parent | abff8e42c1c0c4725def0e3bc0cb5e5a029bff21 (diff) | |
download | qtlocation-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.hpp | 3 |
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, |