From 4fc8226838a23154ca8acc5e5fcb6144de0794cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Mon, 16 Nov 2015 16:32:09 +0100 Subject: [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 --- include/mbgl/util/geo.hpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/mbgl/util/geo.hpp') diff --git a/include/mbgl/util/geo.hpp b/include/mbgl/util/geo.hpp index 2f0e4f6fdc..e815456f22 100644 --- a/include/mbgl/util/geo.hpp +++ b/include/mbgl/util/geo.hpp @@ -100,6 +100,14 @@ struct MetersBounds { } }; +// Determines the orientation of the map. +enum class NorthOrientation : uint8_t { + Upwards, // Default + Rightwards, + Downwards, + Leftwards, +}; + } // namespace mbgl #endif -- cgit v1.2.1