summaryrefslogtreecommitdiff
path: root/platform/qt/include/qmapboxgl.hpp
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2017-05-11 17:23:23 +0300
committerThiago Marcos P. Santos <thiago@mapbox.com>2017-05-11 19:28:59 +0300
commitd6ce5a410efc116da90cd65af34821d9b9ad4334 (patch)
treefb1e1843c47cb7fbf7b8148dacb4af173e36dfb2 /platform/qt/include/qmapboxgl.hpp
parentd45c177e8a23eefcc94930af9fa085e61136bb94 (diff)
downloadqtlocation-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.hpp4
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 &params);
+ const QString& before = QString());
+ void addLayer(const QVariantMap &params, const QString& before = QString());
bool layerExists(const QString &id);
void removeLayer(const QString &id);