summaryrefslogtreecommitdiff
path: root/ios/app
diff options
context:
space:
mode:
authorJustin R. Miller <incanus@codesorcery.net>2015-07-07 08:25:26 -0700
committerKonstantin Käfer <mail@kkaefer.com>2015-07-08 19:46:04 +0200
commite0da13dbfd986f780f7328748cb7700dc396685b (patch)
tree288bef9d4573230ba9bba6552105dee30fa3d65a /ios/app
parente3b823b11b4be58457498a4853580702c747d6dc (diff)
downloadqtlocation-mapboxgl-e0da13dbfd986f780f7328748cb7700dc396685b.tar.gz
fixes for runtime Cocoa imagery
Diffstat (limited to 'ios/app')
-rw-r--r--ios/app/MBXViewController.mm2
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();
}