Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[ios] Rasterize pulsating inner dot of user location annotation
Browse files Browse the repository at this point in the history
Supposed performance enhancement and also improves edge smoothness.
  • Loading branch information
friedbunny committed Aug 16, 2016
1 parent b985be9 commit 1e5b15f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion platform/ios/src/MGLFaux3DUserLocationAnnotationView.m
Expand Up @@ -396,7 +396,6 @@ - (void)drawDot
{
_dotLayer = [self circleLayerWithSize:MGLUserLocationAnnotationDotSize * 0.75];
_dotLayer.backgroundColor = [self.mapView.tintColor CGColor];
_dotLayer.shouldRasterize = NO;

// set defaults for the animations
CAAnimationGroup *animationGroup = [self loopingAnimationGroupWithDuration:1.5];
Expand Down

0 comments on commit 1e5b15f

Please sign in to comment.