summaryrefslogtreecommitdiff
path: root/platform/ios/app
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2016-06-22 23:22:41 -0700
committerMinh Nguyễn <mxn@1ec5.org>2016-06-23 00:03:51 -0700
commitf5f39c8b3adfed4c4c102dca5d5be4d6cfc0b69f (patch)
treefe499dc49834240ffa5062688458aa308489768e /platform/ios/app
parent3995d6ff68a51dd4543ad71f424adf261e1e8baf (diff)
downloadqtlocation-mapboxgl-f5f39c8b3adfed4c4c102dca5d5be4d6cfc0b69f.tar.gz
[ios, macos] Renamed overdraw to overdraw visualization (#5416)
A verb doesn’t make sense in this enum value. Instead, use a descriptive word for this effect and describe it in detail in the documentation comment. Cherry-picked from 415c18294693166472785459f9d5bc8be31b7033.
Diffstat (limited to 'platform/ios/app')
-rw-r--r--platform/ios/app/MBXViewController.m8
1 files changed, 4 insertions, 4 deletions
diff --git a/platform/ios/app/MBXViewController.m b/platform/ios/app/MBXViewController.m
index 8317aee1d9..761644b29f 100644
--- a/platform/ios/app/MBXViewController.m
+++ b/platform/ios/app/MBXViewController.m
@@ -181,9 +181,9 @@ static NSString * const MBXViewControllerAnnotationViewReuseIdentifer = @"MBXVie
((debugMask & MGLMapDebugCollisionBoxesMask)
? @"Hide Collision Boxes"
: @"Show Collision Boxes"),
- ((debugMask & MGLMapDebugWireframesMask)
- ? @"Hide Wireframes"
- : @"Show Wireframes"),
+ ((debugMask & MGLMapDebugOverdrawVisualizationMask)
+ ? @"Hide Overdraw Visualization"
+ : @"Show Overdraw Visualization"),
@"Add 100 Points",
@"Add 1,000 Points",
@"Add 10,000 Points",
@@ -226,7 +226,7 @@ static NSString * const MBXViewControllerAnnotationViewReuseIdentifer = @"MBXVie
}
else if (buttonIndex == actionSheet.firstOtherButtonIndex + 5)
{
- self.mapView.debugMask ^= MGLMapDebugWireframesMask;
+ self.mapView.debugMask ^= MGLMapDebugOverdrawVisualizationMask;
}
else if (buttonIndex == actionSheet.firstOtherButtonIndex + 6)
{