Authored by Justin R. Miller

refs #129: allow all annotation layer taps when enabled

@@ -1482,10 +1482,10 @@ @@ -1482,10 +1482,10 @@
1482 1482
1483 CALayer *superlayer = [hit superlayer]; 1483 CALayer *superlayer = [hit superlayer];
1484 1484
1485 - // See if tap was on a marker or marker label and send delegate protocol method  
1486 - if ([hit isKindOfClass:[RMMarker class]]) 1485 + // See if tap was on an annotation layer or marker label and send delegate protocol method
  1486 + if ([hit isKindOfClass:[RMMapLayer class]])
1487 { 1487 {
1488 - [self tapOnAnnotation:[((RMMarker *)hit) annotation] atPoint:[recognizer locationInView:self]]; 1488 + [self tapOnAnnotation:[((RMMapLayer *)hit) annotation] atPoint:[recognizer locationInView:self]];
1489 } 1489 }
1490 else if (superlayer != nil && [superlayer isKindOfClass:[RMMarker class]]) 1490 else if (superlayer != nil && [superlayer isKindOfClass:[RMMarker class]])
1491 { 1491 {