[core] Added MapDebugOptions
Map debug options are now cycled up to all debug options enabled, then back to none.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user