diff options
Diffstat (limited to 'ios/app')
-rw-r--r-- | ios/app/MBXViewController.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ios/app/MBXViewController.mm b/ios/app/MBXViewController.mm index 995ae9d448..38b49454c5 100644 --- a/ios/app/MBXViewController.mm +++ b/ios/app/MBXViewController.mm @@ -361,7 +361,7 @@ mbgl::Settings_NSUserDefaults *settings = nullptr; UIGraphicsBeginImageContextWithOptions(rect.size, NO, [[UIScreen mainScreen] scale]); CGContextRef ctx = UIGraphicsGetCurrentContext(); CGContextSetFillColorWithColor(ctx, [[[UIColor redColor] colorWithAlphaComponent:0.25] CGColor]); - CGContextFillEllipseInRect(ctx, rect); + CGContextFillRect(ctx, rect); image = [MGLAnnotationImage annotationImageWithImage:UIGraphicsGetImageFromCurrentImageContext() reuseIdentifier:identifier]; UIGraphicsEndImageContext(); } |