remove logging
This commit is contained in:
committed by
Konstantin Käfer
parent
a1c2529e33
commit
c7011345c9
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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] : "");
|
||||
|
||||
Reference in New Issue
Block a user