BaiduMap_IOSSDK_v7.1.0_Docs 7.1.0

BMKOverlay.h
浏览该文件的文档.
1 /*
2 * BMKOverlay.h
3 * BMapKit
4 *
5 * Copyright 2011 Baidu Inc. All rights reserved.
6 *
7 */
8
9 #import "BMKAnnotation.h"
10 #ifdef USE_NAVI
11 #import <BaiduMapAPI_Base_Navi/BMKTypes.h>
12 #else
13 #import <BaiduMapAPI_Base/BMKTypes.h>
14 #endif
15
17 @protocol BMKOverlay <BMKAnnotation>
18 @required
19
21 @property (nonatomic, readonly) CLLocationCoordinate2D coordinate;
22
24 @property (nonatomic, readonly) BMKMapRect boundingMapRect;
25
26 @optional
33 - (BOOL)intersectsMapRect:(BMKMapRect)mapRect;
34
35 @end
36
BMKAnnotation.h
BMKOverlay-p
该类是地图覆盖物的基类，所有地图的覆盖物需要继承自此类
Definition: BMKOverlay.h:17
BMKAnnotation-p
该类为标注点的protocol，提供了标注类的基本信息函数
Definition: BMKAnnotation.h:12
BMKOverlay-p::coordinate
CLLocationCoordinate2D coordinate
返回区域中心坐标.
Definition: BMKOverlay.h:21
BMKMapRect
矩形，用直角地理坐标表示
Definition: BMKTypes.h:286
BMKOverlay-p::boundingMapRect
BMKMapRect boundingMapRect
返回区域外接矩形
Definition: BMKOverlay.h:24