diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2015-11-16 16:32:09 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2015-12-15 11:41:58 -0800 |
commit | 4fc8226838a23154ca8acc5e5fcb6144de0794cb (patch) | |
tree | ac2354fda5e9bca147d7eb3f5bdddbaa291dc319 /include/mbgl/map | |
parent | 62412af6ab746dd8fb5b8984c75b3ff6e6b223e5 (diff) | |
download | qtlocation-mapboxgl-4fc8226838a23154ca8acc5e5fcb6144de0794cb.tar.gz |
[core] allow changing the orientation
You can now change the orientation of north to be to the right, bottom, left in addition to the default of top
Diffstat (limited to 'include/mbgl/map')
-rw-r--r-- | include/mbgl/map/map.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp index df7597ced4..f8c3f4a172 100644 --- a/include/mbgl/map/map.hpp +++ b/include/mbgl/map/map.hpp @@ -133,6 +133,10 @@ public: void setPitch(double pitch, const Duration& = Duration::zero()); double getPitch() const; + // North Orientation + void setNorthOrientation(NorthOrientation); + NorthOrientation getNorthOrientation() const; + // Size uint16_t getWidth() const; uint16_t getHeight() const; |