Created
April 10, 2010 22:23
-
-
Save rodericj/362337 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import | |
// types of annotations for which we will provide annotation views. | |
typedef enum { | |
CSMapAnnotationTypeStart = 0, | |
CSMapAnnotationTypeEnd = 1, | |
CSMapAnnotationTypeImage = 2 | |
} CSMapAnnotationType; | |
@interface CSMapAnnotation : NSObject | |
{ | |
CLLocationCoordinate2D _coordinate; | |
CSMapAnnotationType _annotationType; | |
NSString* _title; | |
NSString* _subtitle; | |
NSString* _userData; | |
NSURL* _url; | |
} | |
-(id) initWithCoordinate:(CLLocationCoordinate2D)coordinate | |
annotationType:(CSMapAnnotationType) annotationType | |
title:(NSString*)title; | |
@property CSMapAnnotationType annotationType; | |
@property (nonatomic, retain) NSString* userData; | |
@property (nonatomic, retain) NSURL* url; | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment