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 <tmpsantos@gmail.com>2017-05-11 20:28:18 +0300
commitc307273dae23751f1c2c621804a6c54761665348 (patch)
tree7993e69a42f82f2e5f9158945ae19501afd93bbd /platform/qt/include/qmapboxgl.hpp
parentc74edece35676c3f17aaec2bcce594f51c6e97ee (diff)
downloadqtlocation-mapboxgl-c307273dae23751f1c2c621804a6c54761665348.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 00c5735a93..478c15a51e 100644
--- a/platform/qt/include/qmapboxgl.hpp
+++ b/platform/qt/include/qmapboxgl.hpp
@@ -219,8 +219,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);