summaryrefslogtreecommitdiff
path: root/platform/ios/src/MGLMapView.mm
diff options
context:
space:
mode:
Diffstat (limited to 'platform/ios/src/MGLMapView.mm')
-rw-r--r--platform/ios/src/MGLMapView.mm10
1 files changed, 5 insertions, 5 deletions
diff --git a/platform/ios/src/MGLMapView.mm b/platform/ios/src/MGLMapView.mm
index c5abf5a600..dfac4db862 100644
--- a/platform/ios/src/MGLMapView.mm
+++ b/platform/ios/src/MGLMapView.mm
@@ -1697,6 +1697,11 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
return self.debugMask;
}
+- (void)toggleDebug
+{
+ self.debugActive = !self.debugActive;
+}
+
- (void)resetNorth
{
[self resetNorthAnimated:YES];
@@ -1714,11 +1719,6 @@ mbgl::Duration MGLDurationInSeconds(NSTimeInterval duration)
self.camera = camera;
}
-- (void)cycleDebugOptions
-{
- _mbglMap->cycleDebugOptions();
-}
-
- (void)emptyMemoryCache
{
_mbglMap->onLowMemory();