BaiduMap_IOSSDK_v5.2.0_Docs
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 #import <BaiduMapAPI_Base/BMKTypes.h>
11 
13 @protocol BMKOverlay <BMKAnnotation>
14 @required
15 
17 @property (nonatomic, readonly) CLLocationCoordinate2D coordinate;
18 
20 @property (nonatomic, readonly) BMKMapRect boundingMapRect;
21 
22 @optional
29 - (BOOL)intersectsMapRect:(BMKMapRect)mapRect;
30 
31 @end
32 
该类为标注点的protocol,提供了标注类的基本信息函数
Definition: BMKAnnotation.h:13
该类是地图覆盖物的基类,所有地图的覆盖物需要继承自此类
Definition: BMKOverlay.h:13
矩形,用直角地理坐标表示
Definition: BMKTypes.h:200
CLLocationCoordinate2D coordinate
返回区域中心坐标.
Definition: BMKOverlay.h:17
BMKMapRect boundingMapRect
返回区域外接矩形
Definition: BMKOverlay.h:20