BaiduMap_IOSSDK_v6.6.3_Docs  6.6.3
BMKMultiPolyline.h
浏览该文件的文档.
1 //
2 // BMKMultiPolyline.h
3 // MapComponent
4 //
5 // Created by zhangbaojin on 2021/7/28.
6 // Copyright © 2021 Baidu. All rights reserved.
7 //
8 
9 #import "BMKPolyline.h"
10 
11 NS_ASSUME_NONNULL_BEGIN
12 
15 
17 @property (nonatomic, copy) NSArray<NSNumber *> *drawIndexs;
18 
27 + (nullable instancetype)multiPolylineWithPoints:(BMKMapPoint *)points
28  count:(NSUInteger)count
29  drawIndexs:(NSArray<NSNumber *> *)drawIndexs;
30 
38 + (nullable instancetype)multiPolylineWithCoordinates:(CLLocationCoordinate2D *)coords
39  count:(NSUInteger)count
40  drawIndexs:(NSArray<NSNumber *> *)drawIndexs;
41 
47 - (BOOL)setMultiPolylineWithPoints:(BMKMapPoint *)points
48  count:(NSUInteger)count
49  drawIndexs:(NSArray<NSNumber *> *)drawIndexs;
50 
56 - (BOOL)setMultiPolylineWithCoordinates:(CLLocationCoordinate2D *)coords
57  count:(NSUInteger)count
58  drawIndexs:(NSArray<NSNumber *> *)drawIndexs;
59 
60 @end
61 
62 NS_ASSUME_NONNULL_END
BMKMapPoint
地理坐标点,用直角地理坐标表示
Definition: BMKTypes.h:222
BMKPolyline
此类用于定义一段折线
Definition: BMKPolyline.h:16
BMKMultiPoint::points
BMKMapPoint * points
坐标点数组
Definition: BMKMultiPoint.h:27
BMKMultiPolyline::drawIndexs
NSArray< NSNumber * > * drawIndexs
颜色/纹理索引数组
Definition: BMKMultiPolyline.h:17
BMKPolyline.h
BMKMultiPolyline
此文件定义分段折线 since 6.5.0
Definition: BMKMultiPolyline.h:15