diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-05-11 14:10:17 +0300 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-05-11 15:48:51 +0300 |
commit | c13dd32242b559b00b0b716dc524ed5161c2b147 (patch) | |
tree | 96c83728499b7317c8a6d087d38016b9a2e55644 /include/mbgl/map/mode.hpp | |
parent | 659c2568ece4153f34d2880e53f54351f51b0917 (diff) | |
download | qtlocation-mapboxgl-c13dd32242b559b00b0b716dc524ed5161c2b147.tar.gz |
[core] Added Viewport mode
Satisfies embedding platforms that requires the viewport coordinate
systems to be set according to its standards e.g. viewport mirrored
vertically.
Diffstat (limited to 'include/mbgl/map/mode.hpp')
-rw-r--r-- | include/mbgl/map/mode.hpp | 7 |
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, |