//
// CCMapAnnotation.h
// CCFC
//
// Created by xichen on 11-12-30.
// Copyright 2011 ccteam. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <MapKit/MKAnnotation.h>
@interface CCMapAnnotation : NSObject<MKAnnotation>
{
NSString *_title;
NSString *_subtitle;
CLLocationCoordinate2D _cord;
}
@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSString *subtitle;
@property (nonatomic, readonly) CLLocationCoordinate2D coordinate;
-(id)initWithCoordinate:(CLLocationCoordinate2D)loc;
- (void)dealloc;
@end
可能有更新:
googlecode链接地址:http://code.google.com/p/iphone-common-codes-ccteam/source/browse/trunk/CCFC/files/CCMapAnnotation.h
github地址:https://github.com/cxsjabc/iphone-common-codes-ccteam/tree/master/CCFC/files/CCMapAnnotation.h
CCMapAnnotation类解析与应用
本文详细介绍了CCMapAnnotation类的定义、属性和初始化方法,包括标题(title)、副标题(subtitle)和坐标(coordinate),并通过实例展示了如何在地图应用中使用此类进行标记点的展示。

被折叠的 条评论
为什么被折叠?



