|
BaiduMap_IOSSDK_v6.5.2_Docs
6.5.2
|
该类用于定义一个圆 更多...
#import <BMKCircle.h>
构造函数 | |
| (BOOL) | - setCircleWithCenterCoordinate:radius: |
| (BOOL) | - setCircleWithMapRect: |
构造函数 继承自 <BMKAnnotation> | |
| (NSString *) | - title |
| 获取annotation标题 更多... | |
| (NSString *) | - subtitle |
| 获取annotation副标题 更多... | |
| (void) | - setCoordinate: |
构造函数 继承自 <BMKOverlay> | |
| (BOOL) | - intersectsMapRect: |
类方法 | |
| (nullable instancetype) | + circleWithCenterCoordinate:radius: |
| (nullable instancetype) | + circleWithMapRect: |
Protected 属性 | |
| package BOOL | _invalidate |
| CLLocationCoordinate2D | _coordinate |
| CLLocationDistance | _radius |
| BMKMapRect | _boundingMapRect |
属性 | |
| CLLocationCoordinate2D | coordinate |
| 中心点坐标 更多... | |
| CLLocationDistance | radius |
| 半径,单位:米 更多... | |
| BMKMapRect | boundingMapRect |
| 该圆的外接矩形 更多... | |
| NSArray< id< BMKOverlay > > * | hollowShapes |
| 设置中空区域,用来创建中间带空洞的复杂图形。注意:传入的overlay只支持BMKPolgon类型和BMKCircle类型. since 5.0.0 更多... | |
属性 继承自 BMKShape | |
| NSString * | title |
| 要显示的标题;注意:如果不设置title,无法点击annotation,也无法使用回调函数; 更多... | |
| NSString * | subtitle |
| 要显示的副标题 更多... | |
属性 继承自 <BMKAnnotation> | |
| CLLocationCoordinate2D | coordinate |
| 标注view中心坐标. 更多... | |
属性 继承自 <BMKOverlay> | |
| CLLocationCoordinate2D | coordinate |
| 返回区域中心坐标. 更多... | |
| BMKMapRect | boundingMapRect |
| 返回区域外接矩形 更多... | |
该类用于定义一个圆
| + (nullable instancetype) circleWithCenterCoordinate: | (CLLocationCoordinate2D) | coord | |
| radius: | (CLLocationDistance) | radius | |
根据中心点和半径生成圆
| coord | 中心点的经纬度坐标 |
| radius | 半径,单位:米 |
| + (nullable instancetype) circleWithMapRect: | (BMKMapRect) | mapRect |
根据指定的直角坐标矩形生成圆,半径由较长的那条边决定,radius = MAX(width, height)/2
| mapRect | 指定的直角坐标矩形 |
| - (BOOL) setCircleWithCenterCoordinate: | (CLLocationCoordinate2D) | coord | |
| radius: | (CLLocationDistance) | radius | |
设置圆的中心点和半径
| coord | 中心点的经纬度坐标 |
| radius | 半径,单位:米 |
| - (BOOL) setCircleWithMapRect: | (BMKMapRect) | mapRect |
根据指定的直角坐标矩形设置圆,半径由较长的那条边决定,radius = MAX(width, height)/2
| mapRect | 指定的直角坐标矩形 |
|
protected |
|
protected |
|
protected |
|
protected |
|
readnonatomicassign |
该圆的外接矩形
|
readwritenonatomicassign |
中心点坐标
|
readwritenonatomiccopy |
设置中空区域,用来创建中间带空洞的复杂图形。注意:传入的overlay只支持BMKPolgon类型和BMKCircle类型. since 5.0.0
|
readwritenonatomicassign |
半径,单位:米