RMMapOverlayView.h
1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//
// RMMapOverlayView.h
// MapView
//
// Created by Thomas Rasch on 25.08.11.
// Copyright (c) 2011 Alpstein. All rights reserved.
//
#import <UIKit/UIKit.h>
@class RMMapOverlayView, RMAnnotation;
@protocol RMMapOverlayViewDelegate <NSObject>
@optional
- (void)mapOverlayView:(RMMapOverlayView *)aMapOverlayView tapOnAnnotation:(RMAnnotation *)anAnnotation atPoint:(CGPoint)aPoint;
- (void)mapOverlayView:(RMMapOverlayView *)aMapOverlayView doubleTapOnAnnotation:(RMAnnotation *)anAnnotation atPoint:(CGPoint)aPoint;
- (void)mapOverlayView:(RMMapOverlayView *)aMapOverlayView tapOnLabelForAnnotation:(RMAnnotation *)anAnnotation atPoint:(CGPoint)aPoint;
- (void)mapOverlayView:(RMMapOverlayView *)aMapOverlayView doubleTapOnLabelForAnnotation:(RMAnnotation *)anAnnotation atPoint:(CGPoint)aPoint;
@end
@interface RMMapOverlayView : UIView {
id <RMMapOverlayViewDelegate> delegate;
}
@property (nonatomic, assign) id <RMMapOverlayViewDelegate> delegate;
- (unsigned)sublayersCount;
- (void)addSublayer:(CALayer *)aLayer;
- (void)insertSublayer:(CALayer *)aLayer atIndex:(unsigned)index;
- (void)insertSublayer:(CALayer *)aLayer below:(CALayer *)sublayer;
- (void)insertSublayer:(CALayer *)aLayer above:(CALayer *)sublayer;
- (void)moveLayersBy:(CGSize)delta;
@end