diff options
Diffstat (limited to 'platform/ios/src/MGLPinAnnotationView.m')
-rw-r--r-- | platform/ios/src/MGLPinAnnotationView.m | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/platform/ios/src/MGLPinAnnotationView.m b/platform/ios/src/MGLPinAnnotationView.m index 62362afc79..4d32a57472 100644 --- a/platform/ios/src/MGLPinAnnotationView.m +++ b/platform/ios/src/MGLPinAnnotationView.m @@ -3,12 +3,13 @@ @implementation MGLPinAnnotationView - (instancetype)initWithReuseIdentifier:(nullable NSString *)reuseIdentifier { - self = [super initWithReuseIdentifier:reuseIdentifier]; - _shadowColor = [UIColor blackColor]; - _pinColor = [UIColor blueColor]; - _strokeColor = [UIColor whiteColor]; - _innerColor = [UIColor whiteColor]; - self.backgroundColor = [UIColor clearColor]; + if (self = [super initWithReuseIdentifier:reuseIdentifier]) { + _shadowColor = [UIColor blackColor]; + _pinColor = [UIColor blueColor]; + _strokeColor = [UIColor yellowColor]; + _innerColor = [UIColor whiteColor]; + self.backgroundColor = [UIColor clearColor]; + } return self; } |