Files
MapLibreParticleLab/platform/darwin/src/MGLPointAnnotation.m

17 lines
530 B
Objective-C

#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