From bcc4c9e78d790d1b71f56b3cc2e64d1b7f64b975 Mon Sep 17 00:00:00 2001 From: "Justin R. Miller" Date: Fri, 13 Mar 2015 08:02:02 -0700 Subject: [PATCH] iOS setAppliedStyleClasses -> setStyleClasses --- platform/ios/MGLMapView.mm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/platform/ios/MGLMapView.mm b/platform/ios/MGLMapView.mm index 3f49d3e6db2..0d530ca1cf0 100644 --- a/platform/ios/MGLMapView.mm +++ b/platform/ios/MGLMapView.mm @@ -972,7 +972,7 @@ - (void)useBundledStyleNamed:(NSString *)styleName } [self setStyleURL:[NSString stringWithFormat:@"styles/%@.json", styleName]]; if (isHybrid) { - [self setAppliedStyleClasses:@[@"contours", @"labels"]]; + [self setStyleClasses:@[@"contours", @"labels"]]; } } @@ -1031,12 +1031,12 @@ - (NSArray *)getAppliedStyleClasses return returnArray; } -- (void)setAppliedStyleClasses:(NSArray *)appliedClasses +- (void)setStyleClasses:(NSArray *)appliedClasses { - [self setAppliedStyleClasses:appliedClasses transitionDuration:0]; + [self setStyleClasses:appliedClasses transitionDuration:0]; } -- (void)setAppliedStyleClasses:(NSArray *)appliedClasses transitionDuration:(NSTimeInterval)transitionDuration +- (void)setStyleClasses:(NSArray *)appliedClasses transitionDuration:(NSTimeInterval)transitionDuration { std::vector newAppliedClasses;