Authored by Justin R. Miller

only warn dev of layer no-op when layer is passed

... ... @@ -32,9 +32,10 @@
@implementation RMPointAnnotation
- (void)setLayer:(RMMapLayer *)layer
- (void)setLayer:(RMMapLayer *)newLayer
{
RMLog(@"Setting a custom layer on an %@ is a no-op", [self class]);
if (newLayer)
RMLog(@"Setting a custom layer on an %@ is a no-op", [self class]);
}
- (RMMapLayer *)layer
... ...
... ... @@ -55,9 +55,10 @@
[super dealloc];
}
- (void)setLayer:(RMMapLayer *)layer
- (void)setLayer:(RMMapLayer *)newLayer
{
RMLog(@"Setting a custom layer on an %@ is a no-op", [self class]);
if (newLayer)
RMLog(@"Setting a custom layer on an %@ is a no-op", [self class]);
}
- (RMMapLayer *)layer
... ...
... ... @@ -32,9 +32,10 @@
@implementation RMPolylineAnnotation
- (void)setLayer:(RMMapLayer *)layer
- (void)setLayer:(RMMapLayer *)newLayer
{
RMLog(@"Setting a custom layer on an %@ is a no-op", [self class]);
if (newLayer)
RMLog(@"Setting a custom layer on an %@ is a no-op", [self class]);
}
- (RMMapLayer *)layer
... ...