Authored by Thomas Rasch

o Added a property for an additional badge icon

@@ -47,7 +47,7 @@ @@ -47,7 +47,7 @@
47 // provided for storage of arbitrary user data 47 // provided for storage of arbitrary user data
48 id userInfo; 48 id userInfo;
49 NSString *annotationType; 49 NSString *annotationType;
50 - UIImage *annotationIcon; 50 + UIImage *annotationIcon, *badgeIcon;
51 CGPoint anchorPoint; 51 CGPoint anchorPoint;
52 } 52 }
53 53
@@ -56,6 +56,7 @@ @@ -56,6 +56,7 @@
56 @property (nonatomic, retain) id userInfo; 56 @property (nonatomic, retain) id userInfo;
57 @property (nonatomic, retain) NSString *annotationType; 57 @property (nonatomic, retain) NSString *annotationType;
58 @property (nonatomic, retain) UIImage *annotationIcon; 58 @property (nonatomic, retain) UIImage *annotationIcon;
  59 +@property (nonatomic, retain) UIImage *badgeIcon;
59 @property (nonatomic, assign) CGPoint anchorPoint; 60 @property (nonatomic, assign) CGPoint anchorPoint;
60 61
61 // the location on screen. don't set this directly, use the coordinate property. 62 // the location on screen. don't set this directly, use the coordinate property.
@@ -40,7 +40,7 @@ @@ -40,7 +40,7 @@
40 @synthesize title; 40 @synthesize title;
41 @synthesize userInfo; 41 @synthesize userInfo;
42 @synthesize annotationType; 42 @synthesize annotationType;
43 -@synthesize annotationIcon; 43 +@synthesize annotationIcon, badgeIcon;
44 @synthesize anchorPoint; 44 @synthesize anchorPoint;
45 45
46 @synthesize mapView; 46 @synthesize mapView;
@@ -69,6 +69,7 @@ @@ -69,6 +69,7 @@
69 69
70 self.annotationType = nil; 70 self.annotationType = nil;
71 self.annotationIcon = nil; 71 self.annotationIcon = nil;
  72 + self.badgeIcon = nil;
72 self.anchorPoint = CGPointZero; 73 self.anchorPoint = CGPointZero;
73 self.hasBoundingBox = NO; 74 self.hasBoundingBox = NO;
74 self.enabled = YES; 75 self.enabled = YES;
@@ -90,6 +91,7 @@ @@ -90,6 +91,7 @@
90 91
91 self.annotationType = nil; 92 self.annotationType = nil;
92 self.annotationIcon = nil; 93 self.annotationIcon = nil;
  94 + self.badgeIcon = nil;
93 95
94 [super dealloc]; 96 [super dealloc];
95 } 97 }