[core] Added MapDebugOptions

Map debug options are now cycled up to all debug options enabled, then
back to none.
This commit is contained in:
Bruno de Oliveira Abinader
2015-11-26 22:38:14 +02:00
parent 044e92f5e8
commit 1f0820c8e8
23 changed files with 106 additions and 59 deletions

View File

@@ -1330,8 +1330,8 @@ public final class MapView extends FrameLayout {
* @see MapView#isDebugActive()
*/
@UiThread
public void toggleDebug() {
mNativeMapView.toggleDebug();
public void cycleDebugOptions() {
mNativeMapView.cycleDebugOptions();
mNativeMapView.toggleCollisionDebug();
}

View File

@@ -401,7 +401,7 @@ final class NativeMapView {
nativeSetDebug(mNativeMapViewPtr, debug);
}
public void toggleDebug() {
public void cycleDebugOptions() {
nativeToggleDebug(mNativeMapViewPtr);
}