From c7011345c9e24eea7a3bad094f4aa48a638e1509 Mon Sep 17 00:00:00 2001 From: "Justin R. Miller" Date: Tue, 7 Jul 2015 09:16:08 -0700 Subject: [PATCH] remove logging --- ios/app/MBXViewController.mm | 6 ------ platform/ios/MGLMapView.mm | 6 ------ 2 files changed, 12 deletions(-) diff --git a/ios/app/MBXViewController.mm b/ios/app/MBXViewController.mm index 054f576d6..e11f7eea5 100644 --- a/ios/app/MBXViewController.mm +++ b/ios/app/MBXViewController.mm @@ -349,8 +349,6 @@ mbgl::Settings_NSUserDefaults *settings = nullptr; if ( ! image) { - NSLog(@"iOS: creating sprite for %p / '%@'", annotation, lastTwoCharacters); - CGRect rect = CGRectMake(0, 0, 20, 15); UIGraphicsBeginImageContextWithOptions(rect.size, NO, [[UIScreen mainScreen] scale]); @@ -377,10 +375,6 @@ mbgl::Settings_NSUserDefaults *settings = nullptr; UIGraphicsEndImageContext(); } - else - { - NSLog(@"iOS: reusing sprite for %p / '%@'", annotation, lastTwoCharacters); - } return image; } diff --git a/platform/ios/MGLMapView.mm b/platform/ios/MGLMapView.mm index c8040b629..b956950c7 100644 --- a/platform/ios/MGLMapView.mm +++ b/platform/ios/MGLMapView.mm @@ -1907,14 +1907,8 @@ CLLocationCoordinate2D MGLLocationCoordinate2DFromLatLng(mbgl::LatLng latLng) // sprite upload _mbglMap->setSprite(cSymbolName, cSpriteImage); - - NSLog(@"GL: uploaded sprite with name '%@'", [NSString stringWithUTF8String:cSymbolName.c_str()]); } } - else - { - NSLog(@"GL: using default symbol"); - } } points.emplace_back(MGLLatLngFromLocationCoordinate2D(annotation.coordinate), symbolName ? [symbolName UTF8String] : "");