diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2015-11-26 22:38:14 +0200 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2015-11-27 17:47:02 +0200 |
commit | 1f0820c8e82810fb957cb1cd17fb4327debfc0e5 (patch) | |
tree | 976533b4a2b03ab033143ebcd013199222c7a9ca /include/mbgl/platform | |
parent | 044e92f5e8ff2049702aa9ff6bbf4eecf9d86fa7 (diff) | |
download | qtlocation-mapboxgl-1f0820c8e82810fb957cb1cd17fb4327debfc0e5.tar.gz |
[core] Added MapDebugOptions
Map debug options are now cycled up to all debug options enabled, then
back to none.
Diffstat (limited to 'include/mbgl/platform')
-rw-r--r-- | include/mbgl/platform/darwin/settings_nsuserdefaults.hpp | 2 | ||||
-rw-r--r-- | include/mbgl/platform/default/settings_json.hpp | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/mbgl/platform/darwin/settings_nsuserdefaults.hpp b/include/mbgl/platform/darwin/settings_nsuserdefaults.hpp index 615320ee55..6364f249dd 100644 --- a/include/mbgl/platform/darwin/settings_nsuserdefaults.hpp +++ b/include/mbgl/platform/darwin/settings_nsuserdefaults.hpp @@ -22,7 +22,7 @@ public: MGLUserTrackingMode userTrackingMode = MGLUserTrackingModeNone; bool showsUserLocation = false; - bool debug = false; + uint32_t debug = 0; }; } diff --git a/include/mbgl/platform/default/settings_json.hpp b/include/mbgl/platform/default/settings_json.hpp index 154a7e3769..ceec1e7fde 100644 --- a/include/mbgl/platform/default/settings_json.hpp +++ b/include/mbgl/platform/default/settings_json.hpp @@ -1,6 +1,8 @@ #ifndef MBGL_JSON_SETTINGS #define MBGL_JSON_SETTINGS +#include <mbgl/map/mode.hpp> + namespace mbgl { class Settings_JSON { @@ -17,7 +19,7 @@ public: double bearing = 0; double pitch = 0; - bool debug = false; + EnumType debug = 0; }; } |