summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLPointAnnotation.m
blob: 9495a2c6f8db1406d521603096b9233611b7f157 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#import "MGLPointAnnotation.h"

@implementation MGLPointAnnotation

@synthesize coordinate;

- (NSString *)description
{
    return [NSString stringWithFormat:@"<%@: %p; title = %@; subtitle = %@; coordinate = %f, %f>",
            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];
}

@end