Merge pull request #1204 from friedbunny/location-shadow
Smooth edges of user location annotation icon's shadow
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user