[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

@@ -322,8 +322,8 @@ public class MainActivity extends AppCompatActivity {
switch (menuItem.getItemId()) {
case R.id.action_debug:
// Toggle debug mode
mMapView.toggleDebug();
// Cycle map debug options
mMapView.cycleDebugOptions();
toggleFpsCounter(mMapView.isDebugActive());
return true;

View File

@@ -20,7 +20,7 @@
<string name="action_gps">Toggle GPS location</string>
<string name="action_user_location_tracking">User location tracking</string>
<string name="action_compass">Toggle compass</string>
<string name="action_debug">Toggle debug mode</string>
<string name="action_debug">Cycle map debug options</string>
<string name="action_point_annotations">Toggle point annotations</string>
<string name="action_info_window_adapter">InfoWindow Adapter</string>
<string name="action_map_fragment">MapFragment</string>