|
iOS高德轻量版地图SDK
1.2.0
|
此类用于定义一个由多个点相连的多段线,点与点之间尾部相连但第一点与最后一个点不相连, 通常MAPolyline是MAPolylineRender的model More...
#import <MAPolyline.h>
Instance Methods | |
| (BOOL) | - setPolylineWithPoints:count: |
| 重新设置折线坐标点. More... | |
| (BOOL) | - setPolylineWithCoordinates:count: |
| 重新设置折线坐标点. More... | |
Instance Methods inherited from MAMultiPoint | |
| (void) | - getCoordinates:range: |
| 将内部的坐标点数据转化为经纬度坐标并拷贝到coords内存中 More... | |
Instance Methods inherited from <MAAnnotation> | |
| (void) | - setCoordinate: |
| 设置标注的坐标,在拖拽时会被调用. More... | |
Class Methods | |
| (instancetype) | + polylineWithPoints:count: |
| 根据map point数据生成多段线 More... | |
| (instancetype) | + polylineWithCoordinates:count: |
| 根据经纬度坐标数据生成多段线 More... | |
Additional Inherited Members | |
Protected Attributes inherited from MAMultiPoint | |
| package MAMapPoint * | _points |
| NSUInteger | _pointCount |
| MAMapRect | _boundingRect |
Properties inherited from MAMultiPoint | |
| MAMapPoint * | points |
| 坐标点数组 More... | |
| NSUInteger | pointCount |
| 坐标点的个数 More... | |
| BOOL | cross180Longitude |
| 是否跨越180度经度线,默认NO 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... | |
此类用于定义一个由多个点相连的多段线,点与点之间尾部相连但第一点与最后一个点不相连, 通常MAPolyline是MAPolylineRender的model
| + (instancetype) polylineWithCoordinates: | (CLLocationCoordinate2D *) | coords | |
| count: | (NSUInteger) | count | |
根据经纬度坐标数据生成多段线
| coords | 经纬度坐标数据,coords对应的内存会拷贝,调用者负责该内存的释放 |
| count | 经纬度坐标个数 |
| + (instancetype) polylineWithPoints: | (MAMapPoint *) | points | |
| count: | (NSUInteger) | count | |
根据map point数据生成多段线
| points | map point数据,points对应的内存会拷贝,调用者负责该内存的释放 |
| count | map point个数 |
| - (BOOL) setPolylineWithCoordinates: | (CLLocationCoordinate2D *) | coords | |
| count: | (NSInteger) | count | |
重新设置折线坐标点.
| coords | 指定的经纬度坐标点数组, C数组,内部会做copy,调用者负责内存管理 |
| count | 坐标点的个数 |
| - (BOOL) setPolylineWithPoints: | (MAMapPoint *) | points | |
| count: | (NSInteger) | count | |
重新设置折线坐标点.
| points | 指定的直角坐标点数组, C数组,内部会做copy,调用者负责内存管理 |
| count | 坐标点的个数 |