diff options
Diffstat (limited to 'platform/darwin/src/MGLPointAnnotation.m')
-rw-r--r-- | platform/darwin/src/MGLPointAnnotation.m | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/platform/darwin/src/MGLPointAnnotation.m b/platform/darwin/src/MGLPointAnnotation.m index 9495a2c6f8..f23382049a 100644 --- a/platform/darwin/src/MGLPointAnnotation.m +++ b/platform/darwin/src/MGLPointAnnotation.m @@ -3,14 +3,17 @@ @implementation MGLPointAnnotation @synthesize coordinate; +@synthesize canShowCallout; +@synthesize calloutView; - (NSString *)description { - return [NSString stringWithFormat:@"<%@: %p; title = %@; subtitle = %@; coordinate = %f, %f>", + return [NSString stringWithFormat:@"<%@: %p; title = %@; subtitle = %@; coordinate = %f, %f; callout: %@ (%@)>", NSStringFromClass([self class]), (void *)self, self.title ? [NSString stringWithFormat:@"\"%@\"", self.title] : self.title, self.subtitle ? [NSString stringWithFormat:@"\"%@\"", self.subtitle] : self.subtitle, - coordinate.latitude, coordinate.longitude]; + coordinate.latitude, coordinate.longitude, + canShowCallout ? @"yes" : @"no", calloutView]; } @end |