summaryrefslogtreecommitdiff
path: root/include/mbgl/map/mode.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/map/mode.hpp')
-rw-r--r--include/mbgl/map/mode.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/mbgl/map/mode.hpp b/include/mbgl/map/mode.hpp
index 7fd1a7f522..9302e36056 100644
--- a/include/mbgl/map/mode.hpp
+++ b/include/mbgl/map/mode.hpp
@@ -29,6 +29,13 @@ enum class ConstrainMode : EnumType {
WidthAndHeight,
};
+// Satisfies embedding platforms that requires the viewport coordinate systems
+// to be set according to its standards.
+enum class ViewportMode : EnumType {
+ Default,
+ FlippedY,
+};
+
enum class MapDebugOptions : EnumType {
NoDebug = 0,
TileBorders = 1 << 1,