diff --git a/FSInteractiveMap/FSInteractiveMap/FSInteractiveMapView.m b/FSInteractiveMap/FSInteractiveMap/FSInteractiveMapView.m index fc2db0e..eaeea5f 100644 --- a/FSInteractiveMap/FSInteractiveMap/FSInteractiveMapView.m +++ b/FSInteractiveMap/FSInteractiveMap/FSInteractiveMapView.m @@ -30,6 +30,17 @@ - (id)initWithFrame:(CGRect)frame return self; } +- (id)initWithCoder:(NSCoder*)aDecoder +{ + self = [super initWithCoder:aDecoder]; + if(self) { + _scaledPaths = [NSMutableArray array]; + [self setDefaultParameters]; + } + + return self; +} + - (void)setDefaultParameters { self.fillColor = [UIColor colorWithWhite:0.85 alpha:1];