DMKPolyline Class Reference
| Inherits from | DMKMultiPoint : DMKShape : NSObject |
|---|---|
| Conforms to | DMKOverlay |
| Declared in | DMKPolyline.h |
+ polylineWithPoints:count:
根据map point数据生成多段线
+ (instancetype)polylineWithPoints:(DMKMapPoint *)points count:(NSUInteger)countParameters
points |
mapPoint数据,points对应的内存会拷贝,调用者负责该内存的释放 |
|---|---|
count |
count map point个数 |
Return Value
生成的多段线
Declared In
DMKPolyline.h
+ polylineWithCoordinates:count:
根据经纬度坐标数据生成多段线
+ (instancetype)polylineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)countParameters
coords |
经纬度坐标数据,coords对应的内存会拷贝,调用者负责该内存的释放 |
|---|---|
count |
经纬度坐标个数 |
Return Value
生成的多段线
Declared In
DMKPolyline.h