diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2015-04-03 21:40:10 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2015-04-03 21:40:10 -0700 |
commit | 87d9507854590803e3e1beffb0dd13c0c07dfe25 (patch) | |
tree | b7b9c815558da7bf20dce2933a14cad0e7dcce35 /platform | |
parent | 5f94ee532c8ef15e69584b5e0dfd18afc7da5c4b (diff) | |
parent | 9cdd2b1c56455855c26954c9a73d6f729163b5fd (diff) | |
download | qtlocation-mapboxgl-87d9507854590803e3e1beffb0dd13c0c07dfe25.tar.gz |
Merge pull request #1204 from friedbunny/location-shadow
Smooth edges of user location annotation icon's shadow
Diffstat (limited to 'platform')
-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(); |