diff options
author | Thiago Marcos P. Santos <thiago@mapbox.com> | 2016-01-18 13:32:47 +0200 |
---|---|---|
committer | Thiago Marcos P. Santos <thiago@mapbox.com> | 2016-04-20 20:55:51 +0300 |
commit | 1ea7bde065f85298ee0a1ba5d94ec926137ef846 (patch) | |
tree | 6758da6c1a2483bae00d9ef97cffb2afc23a6caa /platform/qt/src/qmapboxgl_p.hpp | |
parent | f83b8d8ea4631aa063d04e3194a84c75ba667dfd (diff) | |
download | qtlocation-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.hpp | 2 |
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; |