diff options
author | Ivo van Dongen <info@ivovandongen.nl> | 2017-06-13 10:50:16 +0300 |
---|---|---|
committer | Ivo van Dongen <ivovandongen@users.noreply.github.com> | 2017-07-18 10:45:12 +0200 |
commit | 39a732d7ae3cb1b927d94c4b1154b42d9565356a (patch) | |
tree | 5f33317467cb3dbdf19be3a8264818ff34f859eb /platform/qt | |
parent | 57351c068b133ed140ac7b991181672019fe5c24 (diff) | |
download | qtlocation-mapboxgl-39a732d7ae3cb1b927d94c4b1154b42d9565356a.tar.gz |
[android][glfw][ios][macos][node][qt] split backend from mapobserver
Diffstat (limited to 'platform/qt')
-rw-r--r-- | platform/qt/src/qmapboxgl.cpp | 2 | ||||
-rw-r--r-- | platform/qt/src/qmapboxgl_p.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/platform/qt/src/qmapboxgl.cpp b/platform/qt/src/qmapboxgl.cpp index 46385bc3e3..ee08ba5730 100644 --- a/platform/qt/src/qmapboxgl.cpp +++ b/platform/qt/src/qmapboxgl.cpp @@ -1498,7 +1498,7 @@ QMapboxGLPrivate::QMapboxGLPrivate(QMapboxGL *q, const QMapboxGLSettings &settin , threadPool(mbgl::sharedThreadPool()) { mapObj = std::make_unique<mbgl::Map>( - *this, sanitizedSize(size), + *this, *this, sanitizedSize(size), pixelRatio, *fileSourceObj, *threadPool, mbgl::MapMode::Continuous, static_cast<mbgl::GLContextMode>(settings.contextMode()), diff --git a/platform/qt/src/qmapboxgl_p.hpp b/platform/qt/src/qmapboxgl_p.hpp index 3c8a6cf09e..d89234531b 100644 --- a/platform/qt/src/qmapboxgl_p.hpp +++ b/platform/qt/src/qmapboxgl_p.hpp @@ -12,7 +12,7 @@ #include <QObject> #include <QSize> -class QMapboxGLPrivate : public QObject, public mbgl::View, public mbgl::Backend +class QMapboxGLPrivate : public QObject, public mbgl::View, public mbgl::Backend, public mbgl::MapObserver { Q_OBJECT |