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 /macosx | |
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 'macosx')
-rw-r--r-- | macosx/main.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/main.mm b/macosx/main.mm index 264924edcf..6b8aef3814 100644 --- a/macosx/main.mm +++ b/macosx/main.mm @@ -168,7 +168,7 @@ int main(int argc, char* argv[]) { map.setLatLngZoom(mbgl::LatLng(settings.latitude, settings.longitude), settings.zoom); map.setBearing(settings.bearing); map.setPitch(settings.pitch); - map.setDebug(settings.debug); + map.setDebug(mbgl::MapDebugOptions(settings.debug)); view.setChangeStyleCallback([&map, &view] () { static uint8_t currentStyleIndex; @@ -205,7 +205,7 @@ int main(int argc, char* argv[]) { settings.zoom = map.getZoom(); settings.bearing = map.getBearing(); settings.pitch = map.getPitch(); - settings.debug = map.getDebug(); + settings.debug = uint32_t(map.getDebug()); settings.save(); return 0; |