私は tapOnMarker セレクターを実装しており、カスタムの annotationView を作成しています。それはannotationViewを表示していますが、ピンポイントをクリックすると、annotationViewは現在のピンポイントよりも少ないカウントのピンポイントを抽象化し、ピンポイントには最大カウントがannotationViewに表示されます。これが私の実装コードです。
- (void) tapOnMarker: (RMMarker*) marker onMap: (RMMapView*) map
{
frame = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"redbox.png"]];
UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
button.frame =CGRectMake(0, 0,0, 0);
[button setBackgroundImage:[UIImage imageNamed:@"pinMarker.png"] forState:UIControlStateNormal];
button.enabled = YES;
button.userInteractionEnabled = YES;
[button addTarget:self action:@selector(markerLabelButtonPressed:) forControlEvents:UIControlEventTouchUpInside];
[marker setLabel:frame];
}