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