diff options
author | Justin R. Miller <incanus@codesorcery.net> | 2015-07-07 08:25:26 -0700 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2015-07-08 19:46:04 +0200 |
commit | e0da13dbfd986f780f7328748cb7700dc396685b (patch) | |
tree | 288bef9d4573230ba9bba6552105dee30fa3d65a /ios | |
parent | e3b823b11b4be58457498a4853580702c747d6dc (diff) | |
download | qtlocation-mapboxgl-e0da13dbfd986f780f7328748cb7700dc396685b.tar.gz |
fixes for runtime Cocoa imagery
Diffstat (limited to 'ios')
-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(); } |