diff options
author | Thiago Marcos P. Santos <thiago@mapbox.com> | 2017-05-11 17:23:23 +0300 |
---|---|---|
committer | Thiago Marcos P. Santos <thiago@mapbox.com> | 2017-05-11 19:28:59 +0300 |
commit | d6ce5a410efc116da90cd65af34821d9b9ad4334 (patch) | |
tree | fb1e1843c47cb7fbf7b8148dacb4af173e36dfb2 /platform/qt/include/qmapboxgl.hpp | |
parent | d45c177e8a23eefcc94930af9fa085e61136bb94 (diff) | |
download | qtlocation-mapboxgl-d6ce5a410efc116da90cd65af34821d9b9ad4334.tar.gz |
[Qt] Make it possible to add a layer before another layer
Diffstat (limited to 'platform/qt/include/qmapboxgl.hpp')
-rw-r--r-- | platform/qt/include/qmapboxgl.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/qt/include/qmapboxgl.hpp b/platform/qt/include/qmapboxgl.hpp index f60ad8e677..50dace0667 100644 --- a/platform/qt/include/qmapboxgl.hpp +++ b/platform/qt/include/qmapboxgl.hpp @@ -223,8 +223,8 @@ public: QMapbox::CustomLayerRenderFunction, QMapbox::CustomLayerDeinitializeFunction, void* context, - char* before = NULL); - void addLayer(const QVariantMap ¶ms); + const QString& before = QString()); + void addLayer(const QVariantMap ¶ms, const QString& before = QString()); bool layerExists(const QString &id); void removeLayer(const QString &id); |