MBMapkit
|
00001 // 00002 // MBAnnotation.h 00003 // MBMapKit 00004 // 00005 // Copyright 2011 Mapbar Inc. All rights reserved. 00006 // 00007 00008 #import <CoreGraphics/CoreGraphics.h> 00009 #import <CoreLocation/CoreLocation.h> 00010 #import <Foundation/Foundation.h> 00011 00020 @protocol MBAnnotation <NSObject> 00021 00026 @property (nonatomic, readonly) CLLocationCoordinate2D coordinate; 00027 00028 @optional 00029 00037 - (NSString *)title; 00038 00046 - (NSString *)subtitle; 00047 00055 - (void)setCoordinate:(CLLocationCoordinate2D)newCoordinate; 00056 00057 @end