summaryrefslogtreecommitdiff
path: root/platform/qt/src/qmapboxgl_p.hpp
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2016-01-18 13:32:47 +0200
committerThiago Marcos P. Santos <thiago@mapbox.com>2016-04-20 20:55:51 +0300
commit1ea7bde065f85298ee0a1ba5d94ec926137ef846 (patch)
tree6758da6c1a2483bae00d9ef97cffb2afc23a6caa /platform/qt/src/qmapboxgl_p.hpp
parentf83b8d8ea4631aa063d04e3194a84c75ba667dfd (diff)
downloadqtlocation-mapboxgl-1ea7bde065f85298ee0a1ba5d94ec926137ef846.tar.gz
[Qt] Add support for margins
Diffstat (limited to 'platform/qt/src/qmapboxgl_p.hpp')
-rw-r--r--platform/qt/src/qmapboxgl_p.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/qt/src/qmapboxgl_p.hpp b/platform/qt/src/qmapboxgl_p.hpp
index dec776c06e..93da4089a9 100644
--- a/platform/qt/src/qmapboxgl_p.hpp
+++ b/platform/qt/src/qmapboxgl_p.hpp
@@ -4,6 +4,7 @@
#include <mbgl/map/map.hpp>
#include <mbgl/map/view.hpp>
#include <mbgl/storage/default_file_source.hpp>
+#include <mbgl/util/geo.hpp>
#include <mbgl/util/run_loop.hpp>
#include <QMapboxGL>
@@ -33,6 +34,7 @@ public:
void invalidate() final;
void notifyMapChange(mbgl::MapChange change) final;
+ mbgl::EdgeInsets margins;
QSize size;
QMapboxGL *q_ptr = nullptr;