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 /ios | |
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 'ios')
-rw-r--r-- | ios/app/MBXViewController.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ios/app/MBXViewController.mm b/ios/app/MBXViewController.mm index 2acfe8c297..4c73f2f171 100644 --- a/ios/app/MBXViewController.mm +++ b/ios/app/MBXViewController.mm @@ -132,7 +132,7 @@ static UIColor *const kTintColor = [UIColor colorWithRed:0.120 green:0.550 blue: destructiveButtonTitle:nil otherButtonTitles:@"Reset North", @"Reset Position", - @"Toggle Debug", + @"Cycle debug options", @"Empty Memory", @"Add 100 Points", @"Add 1,000 Points", @@ -156,7 +156,7 @@ static UIColor *const kTintColor = [UIColor colorWithRed:0.120 green:0.550 blue: } else if (buttonIndex == actionSheet.firstOtherButtonIndex + 2) { - [self.mapView toggleDebug]; + [self.mapView cycleDebugOptions]; } else if (buttonIndex == actionSheet.firstOtherButtonIndex + 3) { |