Authored by Justin R. Miller

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

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