Authored by Obrand69

Added methods to hide and unhide marker at the marker level. Has not tested the …

…code so it may not compile. Fix as necessary...
... ... @@ -43,6 +43,8 @@ extern NSString * const RMMarkerRedKey;
- (void) removeLabel;
- (void) replaceImage:(CGImageRef)image anchorPoint:(CGPoint)_anchorPoint;
- (void) hide;
- (void) unhide;
- (void) dealloc;
... ...
... ... @@ -226,6 +226,17 @@ static CGImageRef _markerBlue = nil;
return nil;
}
- (void) hide
{
[self setHidden:YES];
}
- (void) unhide
{
[self setHidden:NO];
}
/*- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event
{
// [label setAlpha:1.0f - [label alpha]];
... ...