summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wray <jason@kulturny.com>2015-04-03 19:52:41 -0700
committerJason Wray <jason@kulturny.com>2015-04-03 19:52:41 -0700
commit9cdd2b1c56455855c26954c9a73d6f729163b5fd (patch)
treeaad238fa97d844968dd0b7528bd9a7f821c7b12c
parent999ebb371e98bb9ee5876cfad336426c5abae7a8 (diff)
downloadqtlocation-mapboxgl-9cdd2b1c56455855c26954c9a73d6f729163b5fd.tar.gz
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();