diff options
author | Jason Wray <jason@kulturny.com> | 2015-04-03 19:52:41 -0700 |
---|---|---|
committer | Jason Wray <jason@kulturny.com> | 2015-04-03 19:52:41 -0700 |
commit | 9cdd2b1c56455855c26954c9a73d6f729163b5fd (patch) | |
tree | aad238fa97d844968dd0b7528bd9a7f821c7b12c /platform/ios | |
parent | 999ebb371e98bb9ee5876cfad336426c5abae7a8 (diff) | |
download | qtlocation-mapboxgl-9cdd2b1c56455855c26954c9a73d6f729163b5fd.tar.gz |
Smooth edges of user location annotation icon's shadow
Diffstat (limited to 'platform/ios')
-rw-r--r-- | platform/ios/MGLUserLocationAnnotationView.m | 2 |
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(); |