Nextrek
@ 63
Nextrek / iOS / Location / Location / MapAnnotation.m
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
// // MapAnnotation.m // Location // // Created by Fabrizio on 05/12/12. // Copyright (c) 2012 Odyssey. All rights reserved. // #import "MapAnnotation.h" #import "MapItem.h" @implementation MapAnnotation @synthesize coordinate, mapItem; - (id) initWithCoordinate:(CLLocationCoordinate2D)c item:(MapItem *)aMapItem { if (self = [super init]) { coordinate = c; mapItem = aMapItem; } return self; } - (NSString *)title { return [NSString stringWithFormat:@"%@, %@", mapItem.indirizzo, mapItem.numero]; } - (NSString *)subtitle { return @""; } - (int *)type { return 0; } @end |
Commits for Nextrek/iOS/Location/Location/MapAnnotation.m
Revision | Author | Commited | Message |
---|---|---|---|
63 | FAquili | Sat 18 Jan, 2014 16:59:40 +0000 | Parcheggio Roma 1.0 |