summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2015-04-03 21:40:10 -0700
committerMinh Nguyễn <mxn@1ec5.org>2015-04-03 21:40:10 -0700
commit87d9507854590803e3e1beffb0dd13c0c07dfe25 (patch)
treeb7b9c815558da7bf20dce2933a14cad0e7dcce35
parent5f94ee532c8ef15e69584b5e0dfd18afc7da5c4b (diff)
parent9cdd2b1c56455855c26954c9a73d6f729163b5fd (diff)
downloadqtlocation-mapboxgl-87d9507854590803e3e1beffb0dd13c0c07dfe25.tar.gz
Merge pull request #1204 from friedbunny/location-shadow
Smooth edges of user location annotation icon's shadow
-rw-r--r--platform/ios/MGLUserLocationAnnotationView.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/MGLUserLocationAnnotationView.m b/platform/ios/MGLUserLocationAnnotationView.m
index 7a68d711f0..779382b5e4 100644
--- a/platform/ios/MGLUserLocationAnnotationView.m
+++ b/platform/ios/MGLUserLocationAnnotationView.m
@@ -102,7 +102,7 @@ const CGFloat MGLTrackingDotRingWidth = 24.0;
//
if ( ! _dotBorderLayer)
{
- CGRect rect = CGRectMake(0, 0, MGLTrackingDotRingWidth * 1.25, MGLTrackingDotRingWidth * 1.25);
+ CGRect rect = CGRectMake(0, 0, MGLTrackingDotRingWidth * 1.5, MGLTrackingDotRingWidth * 1.5);
UIGraphicsBeginImageContextWithOptions(rect.size, NO, [[UIScreen mainScreen] scale]);
CGContextRef context = UIGraphicsGetCurrentContext();