立得地图iOS SDK 地图&搜索服务参考手册 V1.7.0
|
此类用于定义一个由多个点相连的多段线,绘制时支持分段采用不同颜色(纹理)绘制,点与点之间尾部相连但第一点与最后一个点不相连 更多...
#import <LMKMultiPolyline.h>
类方法 |
|
(instancetype) | + polylineWithCoordinates:count:drawStyleIndexes: |
分段绘制,根据经纬度坐标数据生成多段线 更多... |
|
![]() |
|
(instancetype) | + polylineWithCoordinates:count: |
根据经纬度坐标数据生成多段线 更多... |
|
属性 |
|
NSArray * | drawStyleIndexes |
绘制索引数组(纹理、颜色索引数组), 成员为NSNumber, 且为非负数 更多... |
|
![]() |
|
LMKMapPoint * | points |
坐标点数组 更多... |
|
CLLocationCoordinate2D * | coords |
NSUInteger | pointCount |
坐标点的个数 更多... |
|
![]() |
|
NSString * | title |
标题 更多... |
|
NSString * | subtitle |
副标题 更多... |
|
NSUInteger | projection_type |
投影类型 更多... |
|
![]() |
|
CLLocationCoordinate2D | coordinate |
标注view中心坐标 更多... |
|
![]() |
|
CLLocationCoordinate2D | coordinate |
返回区域中心坐标. 更多... |
|
LMKMapRect | boundingMapRect |
区域外接矩形 更多... |
|
额外继承的成员函数 |
|
![]() |
|
(void) | - getCoordinates:range: |
将内部的坐标点数据转化为经纬度坐标并拷贝到coords内存中 更多... |
|
(id) | - initWithCoordinates:count: |
初始化坐标和坐标点数 更多... |
|
![]() |
|
(void) | - buildDataWithType: |
构建数据 更多... |
|
![]() |
|
(NSString *) | - title |
获取annotation标题 更多... |
|
(NSString *) | - subtitle |
获取annotation副标题 更多... |
|
(void) | - setCoordinate: |
设置标注的坐标,在拖拽时会被调用. 更多... |
|
![]() |
|
package LMKMapPoint * | _points |
CLLocationCoordinate2D * | _coords |
NSUInteger | _pointCount |
LMKMapRect | _boundingRect |
![]() |
|
NSString * | _title |
NSString * | _subtitle |
此类用于定义一个由多个点相连的多段线,绘制时支持分段采用不同颜色(纹理)绘制,点与点之间尾部相连但第一点与最后一个点不相连
+ (instancetype) polylineWithCoordinates: | (CLLocationCoordinate2D *) | coords | |
count: | (NSUInteger) | count | |
drawStyleIndexes: | (NSArray *) | drawStyleIndexes | |
分段绘制,根据经纬度坐标数据生成多段线
coords | 指定的经纬度坐标点数组 |
count | 坐标点的个数(注意保持和coords个数一致) |
drawStyleIndexes | 纹理索引数组\颜色索引数组(coords的索引集合), 成员为NSNumber, 且为正整数。例子:例子:[1,4,6] 表示 0-1使用第一种颜色\纹理,1-4使用第二种,4-6使用第三种,6-最后使用第四种(0-1表示第一段,第0个索引到第1个索引。1-4表示第二段,第1个索引到第4个索引...) |
|
readnonatomicstrong |
绘制索引数组(纹理、颜色索引数组), 成员为NSNumber, 且为非负数