// // XHAnnotation.h // MessageDisplayExample // // Created by HUAJIE-1 on 14-5-9. // Copyright (c) 2014年 嗨,我是曾宪华(@xhzengAIB),曾加入YY Inc.担任高级移动开发工程师,拍立秀App联合创始人,热衷于简洁、而富有理性的事物 QQ:543413507 主页:http://zengxianhua.com All rights reserved. // #import #import @interface XHAnnotation : NSObject /** * 实现MKAnnotation协议必须要定义这个属性 */ @property (nonatomic, readwrite) CLLocationCoordinate2D coordinate; /** * 标题 */ @property (nonatomic, copy) NSString *title; /** * 子标题 */ @property (nonatomic, copy) NSString *subtitle; @property (nonatomic, strong) CLRegion *region; @property (nonatomic, readwrite) CLLocationDistance radius; - (id)initWithCLRegion:(CLRegion *)newRegion title:(NSString *)title subtitle:(NSString *)subtitle; @end