BaiduMap_IOSSDK_v7.1.0_Docs 7.1.0

BMKAnnotation.h
浏览该文件的文档.
1 //
2 // BMKAnnotation.h
3 // BMapKit
4 //
5 // Copyright 2011 Baidu Inc. All rights reserved.
6 //
7
8 #import <CoreLocation/CoreLocation.h>
9 #import <Foundation/Foundation.h>
10
12 @protocol BMKAnnotation <NSObject, NSCopying>
13
15 @property (nonatomic, readonly) CLLocationCoordinate2D coordinate;
16
17 @optional
18
20 - (NSString *)title;
21
23 - (NSString *)subtitle;
24
27 - (void)setCoordinate:(CLLocationCoordinate2D)newCoordinate;
28
29 @end
BMKAnnotation-p::coordinate
CLLocationCoordinate2D coordinate
标注view中心坐标.
Definition: BMKAnnotation.h:15
BMKAnnotation-p
该类为标注点的protocol，提供了标注类的基本信息函数
Definition: BMKAnnotation.h:12
-[BMKAnnotation-p title]
NSString * title()
获取annotation标题
-[BMKAnnotation-p subtitle]
NSString * subtitle()
获取annotation副标题