[core] Added MapDebugOptions
Map debug options are now cycled up to all debug options enabled, then back to none.
This commit is contained in:
@@ -99,7 +99,7 @@ int main(int argc, char *argv[]) {
|
||||
map.setBearing(bearing);
|
||||
|
||||
if (debug) {
|
||||
map.setDebug(debug);
|
||||
map.setDebug(debug ? mbgl::MapDebugOptions::TileBorders | mbgl::MapDebugOptions::ParseStatus : mbgl::MapDebugOptions::NoDebug);
|
||||
}
|
||||
|
||||
uv_async_t *async = new uv_async_t;
|
||||
|
||||
Reference in New Issue
Block a user