|
高德地图SDK(导航) V10.0.600
|
该类用于定义一个圆, 通常MACircle是MACircleView的model More...
#import <MACircle.h>
Instance Methods | |
| (BOOL) | - setCircleWithCenterCoordinate:radius: |
| 设置圆的中心点和半径. since 5.0.0 | |
Instance Methods inherited from <MAOverlay> | |
| (CLLocationCoordinate2D) | - coordinate |
| 返回区域中心坐标 | |
| (MAMapRect) | - boundingMapRect |
| 区域外接矩形 | |
Instance Methods inherited from <MAAnnotation> | |
| (void) | - setCoordinate: |
| 设置标注的坐标,在拖拽时会被调用. | |
Class Methods | |
| (instancetype) | + circleWithCenterCoordinate:radius: |
| 根据中心点和半径生成圆 | |
| (instancetype) | + circleWithMapRect: |
| 根据map rect生成圆 | |
Properties | |
| NSArray< id< MAOverlay > > * | hollowShapes |
| 设置中空区域,用来创建中间带空洞的复杂图形。注意:传入的overlay只支持MAPolgon类型和MACircle类型,不支持与此circle边相交或在circle外部,不支持hollowShapes彼此间相交,和空洞顺序有关,不支持嵌套. since 5.5.0 | |
| CLLocationCoordinate2D | coordinate |
| 中心点经纬度坐标,无效坐标按照{0,0}处理 | |
| CLLocationDistance | radius |
| 半径,单位:米 负数按照0处理 | |
Properties inherited from MAShape | |
| NSString * | title |
| 标题 | |
| NSString * | subtitle |
| 副标题 | |
Properties inherited from MABaseOverlay | |
| CLLocationCoordinate2D | coordinate |
| 返回区域中心坐标 | |
| MAMapRect | boundingMapRect |
| 区域外接矩形 | |
| double | altitude |
| 海拔,单位米,默认0 | |
Properties inherited from <MAAnnotation> | |
| CLLocationCoordinate2D | coordinate |
| 标注view中心坐标 | |
| NSString * | title |
| annotation标题 | |
| NSString * | subtitle |
| annotation副标题 | |
| double | altitude |
| annotation海拔高度,单位米,默认0 | |
Additional Inherited Members | |
Protected Attributes inherited from MAShape | |
| NSString * | _title |
| 标题 | |
| NSString * | _subtitle |
| 副标题 | |
Protected Attributes inherited from MABaseOverlay | |
| double | _altitude |
| 海拔 | |
该类用于定义一个圆, 通常MACircle是MACircleView的model
| + (instancetype) circleWithCenterCoordinate: | (CLLocationCoordinate2D) | coord | |
| radius: | (CLLocationDistance) | radius | |
根据中心点和半径生成圆
| coord | 中心点的经纬度坐标,无效坐标按照{0,0}处理 |
| radius | 半径,单位:米, 负数按照0处理 |
| + (instancetype) circleWithMapRect: | (MAMapRect) | mapRect |
根据map rect生成圆
| mapRect | mapRect 圆的最小外界矩形 |
| - (BOOL) setCircleWithCenterCoordinate: | (CLLocationCoordinate2D) | coord | |
| radius: | (CLLocationDistance) | radius | |
设置圆的中心点和半径. since 5.0.0
| coord | 中心点的经纬度坐标,无效坐标按照{0,0}处理 |
| radius | 半径,单位:米 负数按照0处理 |
|
readwritenonatomicassign |
中心点经纬度坐标,无效坐标按照{0,0}处理
|
readwritenonatomicstrong |
设置中空区域,用来创建中间带空洞的复杂图形。注意:传入的overlay只支持MAPolgon类型和MACircle类型,不支持与此circle边相交或在circle外部,不支持hollowShapes彼此间相交,和空洞顺序有关,不支持嵌套. since 5.5.0
|
readwritenonatomicassign |
半径,单位:米 负数按照0处理