立得地图iOS SDK 地图&搜索服务参考手册 V1.7.0
|
此类用于定义一个由多个点相连的多段线,点与点之间尾部相连但第一点与最后一个点不相连, 通常LMKPolyline是LMKPolylineView的model 更多...
#import <LMKPolyline.h>
类方法 |
|
(instancetype) | + polylineWithCoordinates:count: |
根据经纬度坐标数据生成多段线 更多... |
|
额外继承的成员函数 |
|
![]() |
|
(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 |
![]() |
|
LMKMapPoint * | points |
坐标点数组 更多... |
|
CLLocationCoordinate2D * | coords |
NSUInteger | pointCount |
坐标点的个数 更多... |
|
![]() |
|
NSString * | title |
标题 更多... |
|
NSString * | subtitle |
副标题 更多... |
|
NSUInteger | projection_type |
投影类型 更多... |
|
![]() |
|
CLLocationCoordinate2D | coordinate |
标注view中心坐标 更多... |
|
![]() |
|
CLLocationCoordinate2D | coordinate |
返回区域中心坐标. 更多... |
|
LMKMapRect | boundingMapRect |
区域外接矩形 更多... |
|
此类用于定义一个由多个点相连的多段线,点与点之间尾部相连但第一点与最后一个点不相连, 通常LMKPolyline是LMKPolylineView的model
+ (instancetype) polylineWithCoordinates: | (CLLocationCoordinate2D *) | coords | |
count: | (NSUInteger) | count | |
根据经纬度坐标数据生成多段线
coords | 经纬度坐标数据,coords对应的内存会拷贝,调用者负责该内存的释放 |
count | 经纬度坐标个数 |