iOS高德地图SDK(2D)
v5.6.0
|
此类用于定义一个由多个点相连的多段线,点与点之间尾部想连但第一点与最后一个点不相连, 通常MAPolyline是MAPolylineRenderer的model More...
#import <MAPolyline.h>
Class Methods | |
(instancetype) | + polylineWithPoints:count: |
根据map point数据生成多段线 More... | |
(instancetype) | + polylineWithCoordinates:count: |
根据经纬度坐标数据生成多段线 More... | |
Additional Inherited Members | |
![]() | |
(void) | - getCoordinates:range: |
将内部的坐标点数据转化为经纬度坐标并拷贝到coords内存中 More... | |
![]() | |
MAMapPoint * | points |
坐标点数组 More... | |
NSUInteger | pointCount |
坐标点的个数 More... | |
![]() | |
NSString * | title |
标题 More... | |
NSString * | subtitle |
副标题 More... | |
此类用于定义一个由多个点相连的多段线,点与点之间尾部想连但第一点与最后一个点不相连, 通常MAPolyline是MAPolylineRenderer的model
+ (instancetype) polylineWithCoordinates: | (CLLocationCoordinate2D *) | coords | |
count: | (NSUInteger) | count | |
根据经纬度坐标数据生成多段线
coords | 经纬度坐标数据,coords对应的内存会拷贝,调用者负责该内存的释放 |
count | 经纬度坐标个数 |
Implemented in MAGeodesicPolyline.
+ (instancetype) polylineWithPoints: | (MAMapPoint *) | points | |
count: | (NSUInteger) | count | |
根据map point数据生成多段线
points | mapPoint数据,points对应的内存会拷贝,调用者负责该内存的释放 |
count | count map point个数 |
Implemented in MAGeodesicPolyline.