Authored by Justin R. Miller

Merge branch 'develop' of github.com:mapbox/mapbox-ios-sdk into develop

... ... @@ -34,7 +34,9 @@
- (void)setLayer:(RMMapLayer *)newLayer
{
if (newLayer)
if ( ! newLayer)
[super setLayer:nil];
else
RMLog(@"Setting a custom layer on an %@ is a no-op", [self class]);
}
... ...
... ... @@ -57,7 +57,9 @@
- (void)setLayer:(RMMapLayer *)newLayer
{
if (newLayer)
if ( ! newLayer)
[super setLayer:nil];
else
RMLog(@"Setting a custom layer on an %@ is a no-op", [self class]);
}
... ...
... ... @@ -34,7 +34,9 @@
- (void)setLayer:(RMMapLayer *)newLayer
{
if (newLayer)
if ( ! newLayer)
[super setLayer:nil];
else
RMLog(@"Setting a custom layer on an %@ is a no-op", [self class]);
}
... ...