summaryrefslogtreecommitdiff
path: root/platform/qt/include/qmapboxgl.hpp
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2016-03-22 12:04:34 +0200
committerThiago Marcos P. Santos <thiago@mapbox.com>2016-04-20 20:55:51 +0300
commit8ff17ffc9af865b1a1735e4759d234c7e62ba79e (patch)
tree20eaa3c1a97ddd99aa99267c62482ee43bc4fa27 /platform/qt/include/qmapboxgl.hpp
parent0d4ccd4e441b7b777e191d47157f51678d448292 (diff)
downloadqtlocation-mapboxgl-8ff17ffc9af865b1a1735e4759d234c7e62ba79e.tar.gz
[Qt] Expose {add,remove}CustomLayer
Diffstat (limited to 'platform/qt/include/qmapboxgl.hpp')
-rw-r--r--platform/qt/include/qmapboxgl.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/platform/qt/include/qmapboxgl.hpp b/platform/qt/include/qmapboxgl.hpp
index 6e1368ea95..7a7389bfec 100644
--- a/platform/qt/include/qmapboxgl.hpp
+++ b/platform/qt/include/qmapboxgl.hpp
@@ -168,6 +168,14 @@ public:
void setMargins(const QMargins &margins);
QMargins margins() const;
+ void addCustomLayer(const QString &id,
+ QMapbox::CustomLayerInitializeFunction,
+ QMapbox::CustomLayerRenderFunction,
+ QMapbox::CustomLayerDeinitializeFunction,
+ void* context,
+ char* before = NULL);
+ void removeCustomLayer(const QString& id);
+
public slots:
void render();
void connectionEstablished();