BaiduMap_IOSSDK_v5.4.0_Docs
|
此类用于定义一段折线 更多...
#import <BMKPolyline.h>
构造函数 | |
(BOOL) | - setPolylineWithPoints:count: |
(BOOL) | - setPolylineWithCoordinates:count: |
(BOOL) | - setPolylineWithPoints:count:textureIndex: |
(BOOL) | - setPolylineWithCoordinates:count:textureIndex: |
(BOOL) | - setPolylineWithPoints:count: |
(BOOL) | - setPolylineWithCoordinates:count: |
(BOOL) | - setPolylineWithPoints:count:textureIndex: |
(BOOL) | - setPolylineWithCoordinates:count:textureIndex: |
![]() | |
(void) | - getCoordinates:range: |
(void) | - getCoordinates:range: |
![]() | |
(NSString *) | - title |
(NSString *) | - subtitle |
(void) | - setCoordinate: |
(NSString *) | - title |
(NSString *) | - subtitle |
(void) | - setCoordinate: |
![]() | |
(BOOL) | - intersectsMapRect: |
(BOOL) | - intersectsMapRect: |
属性 | |
BOOL | isThined |
是否需要对Polyline坐标数据进行抽稀,默认为YES | |
NSArray< NSNumber * > * | textureIndex |
纹理索引数组(颜色索引数组) | |
![]() | |
BMKMapPoint * | points |
坐标点数组 | |
NSUInteger | pointCount |
坐标点的个数 | |
![]() | |
NSString * | title |
要显示的标题;注意:如果不设置title,无法点击annotation,也无法使用回调函数; | |
NSString * | subtitle |
要显示的副标题 | |
![]() | |
CLLocationCoordinate2D | coordinate |
标注view中心坐标. | |
![]() | |
CLLocationCoordinate2D | coordinate |
返回区域中心坐标. | |
BMKMapRect | boundingMapRect |
返回区域外接矩形 | |
额外继承的成员函数 | |
![]() | |
package BMKMapPoint * | _points |
NSUInteger | _pointCount |
BMKMapRect | _boundingRect |
此类用于定义一段折线
+ (BMKPolyline *) polylineWithCoordinates: | (CLLocationCoordinate2D *) | coords | |
count: | (NSUInteger) | count | |
根据指定坐标点生成一段折线
coords | 指定的经纬度坐标点数组 |
count | coords数组中坐标点的个数 |
+ (BMKPolyline *) polylineWithCoordinates: | (CLLocationCoordinate2D *) | coords | |
count: | (NSUInteger) | count | |
根据指定坐标点生成一段折线
coords | 指定的经纬度坐标点数组 |
count | coords数组中坐标点的个数 |
+ (BMKPolyline *) polylineWithCoordinates: | (CLLocationCoordinate2D *) | coords | |
count: | (NSUInteger) | count | |
textureIndex: | (NSArray< NSNumber * > *) | textureIndex | |
根据指定坐标点生成一段折线
分段纹理绘制:其对应的BMKPolylineView必须使用 - (BOOL)loadStrokeTextureImages:(NSArray <UIImage *>*)textureImages; 加载纹理图片;否则使用默认的灰色纹理绘制 分段颜色绘制:其对应的BMKPolylineView必须设置colors属性
coords | 指定的经纬度坐标点数组 |
count | coords数组中坐标点的个数 |
textureIndex | 纹理索引数组(颜色索引数组),成员为NSNumber,且为非负数,负数按0处理 |
+ (BMKPolyline *) polylineWithCoordinates: | (CLLocationCoordinate2D *) | coords | |
count: | (NSUInteger) | count | |
textureIndex: | (NSArray< NSNumber * > *) | textureIndex | |
根据指定坐标点生成一段折线
分段纹理绘制:其对应的BMKPolylineView必须使用 - (BOOL)loadStrokeTextureImages:(NSArray <UIImage *>*)textureImages; 加载纹理图片;否则使用默认的灰色纹理绘制 分段颜色绘制:其对应的BMKPolylineView必须设置colors属性
coords | 指定的经纬度坐标点数组 |
count | coords数组中坐标点的个数 |
textureIndex | 纹理索引数组(颜色索引数组),成员为NSNumber,且为非负数,负数按0处理 |
+ (BMKPolyline *) polylineWithPoints: | (BMKMapPoint *) | points | |
count: | (NSUInteger) | count | |
根据指定坐标点生成一段折线
points | 指定的直角坐标点数组 |
count | points数组中坐标点的个数 |
+ (BMKPolyline *) polylineWithPoints: | (BMKMapPoint *) | points | |
count: | (NSUInteger) | count | |
根据指定坐标点生成一段折线
points | 指定的直角坐标点数组 |
count | points数组中坐标点的个数 |
+ (BMKPolyline *) polylineWithPoints: | (BMKMapPoint *) | points | |
count: | (NSUInteger) | count | |
textureIndex: | (NSArray< NSNumber * > *) | textureIndex | |
分段纹理绘制/分段颜色绘制,根据指定坐标点生成一段折线
分段纹理绘制:其对应的BMKPolylineView必须使用 - (BOOL)loadStrokeTextureImages:(NSArray <UIImage *>*)textureImages; 加载纹理图片;否则使用默认的灰色纹理绘制 分段颜色绘制:其对应的BMKPolylineView必须设置colors属性
points | 指定的直角坐标点数组 |
count | points数组中坐标点的个数 |
textureIndex | 纹理索引数组(颜色索引数组),成员为NSNumber,且为非负数,负数按0处理 |
+ (BMKPolyline *) polylineWithPoints: | (BMKMapPoint *) | points | |
count: | (NSUInteger) | count | |
textureIndex: | (NSArray< NSNumber * > *) | textureIndex | |
分段纹理绘制/分段颜色绘制,根据指定坐标点生成一段折线
分段纹理绘制:其对应的BMKPolylineView必须使用 - (BOOL)loadStrokeTextureImages:(NSArray <UIImage *>*)textureImages; 加载纹理图片;否则使用默认的灰色纹理绘制 分段颜色绘制:其对应的BMKPolylineView必须设置colors属性
points | 指定的直角坐标点数组 |
count | points数组中坐标点的个数 |
textureIndex | 纹理索引数组(颜色索引数组),成员为NSNumber,且为非负数,负数按0处理 |
- (BOOL) setPolylineWithCoordinates: | (CLLocationCoordinate2D *) | coords | |
count: | (NSInteger) | count | |
重新设置折线坐标点
coords | 指定的经纬度坐标点数组 |
count | coords数组中坐标点的个数 |
- (BOOL) setPolylineWithCoordinates: | (CLLocationCoordinate2D *) | coords | |
count: | (NSInteger) | count | |
重新设置折线坐标点
coords | 指定的经纬度坐标点数组 |
count | coords数组中坐标点的个数 |
- (BOOL) setPolylineWithCoordinates: | (CLLocationCoordinate2D *) | coords | |
count: | (NSInteger) | count | |
textureIndex: | (NSArray< NSNumber * > *) | textureIndex | |
重新设置折线坐标点
coords | 指定的经纬度坐标点数组 |
count | coords数组中坐标点的个数 |
textureIndex | 纹理索引数组(颜色索引数组),成员为NSNumber,且为非负数,负数按0处理 |
- (BOOL) setPolylineWithCoordinates: | (CLLocationCoordinate2D *) | coords | |
count: | (NSInteger) | count | |
textureIndex: | (NSArray< NSNumber * > *) | textureIndex | |
重新设置折线坐标点
coords | 指定的经纬度坐标点数组 |
count | coords数组中坐标点的个数 |
textureIndex | 纹理索引数组(颜色索引数组),成员为NSNumber,且为非负数,负数按0处理 |
- (BOOL) setPolylineWithPoints: | (BMKMapPoint *) | points | |
count: | (NSInteger) | count | |
重新设置折线坐标点
points | 指定的直角坐标点数组 |
count | points数组中坐标点的个数 |
- (BOOL) setPolylineWithPoints: | (BMKMapPoint *) | points | |
count: | (NSInteger) | count | |
重新设置折线坐标点
points | 指定的直角坐标点数组 |
count | points数组中坐标点的个数 |
- (BOOL) setPolylineWithPoints: | (BMKMapPoint *) | points | |
count: | (NSInteger) | count | |
textureIndex: | (NSArray< NSNumber * > *) | textureIndex | |
重新设置折线坐标点 和 纹理索引
points | 指定的直角坐标点数组 |
count | points数组中坐标点的个数 |
textureIndex | 纹理索引数组(颜色索引数组),成员为NSNumber,且为非负数,负数按0处理 |
- (BOOL) setPolylineWithPoints: | (BMKMapPoint *) | points | |
count: | (NSInteger) | count | |
textureIndex: | (NSArray< NSNumber * > *) | textureIndex | |
重新设置折线坐标点 和 纹理索引
points | 指定的直角坐标点数组 |
count | points数组中坐标点的个数 |
textureIndex | 纹理索引数组(颜色索引数组),成员为NSNumber,且为非负数,负数按0处理 |