14NS_ASSUME_NONNULL_BEGIN
47+ (nullable instancetype)polylineWithPoints:(
BMKMapPoint *)points count:(NSUInteger)count;
53+ (nullable instancetype)polylineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count;
59- (BOOL)setPolylineWithPoints:(
BMKMapPoint *)points count:(NSUInteger)count;
65- (BOOL)setPolylineWithCoordinates:(CLLocationCoordinate2D *)coords count:(NSUInteger)count;
68#pragma mark - 以下方法和属性只适用于分段纹理绘制和分段颜色绘制
76@property (nonatomic, copy, nullable) NSArray<NSNumber *> *textureIndex
__deprecated_msg(
"已废弃since 6.5.0, 请使用BMKMultiPolyline中drawIndexs");
85+ (nullable instancetype)polylineWithPoints:(
BMKMapPoint *)points
86 count:(NSUInteger)count
87 textureIndex:(NSArray<NSNumber *> *)textureIndex __deprecated_msg("已废弃since 6.5.0, 请使用BMKMultiPolyline中multiPolylineWithPoints:count:drawIndexs:替换");
96+ (nullable instancetype)polylineWithCoordinates:(CLLocationCoordinate2D *)coords
97 count:(NSUInteger)count
98 textureIndex:(NSArray<NSNumber *> *)textureIndex __deprecated_msg("已废弃since 6.5.0, 请使用BMKMultiPolyline中multiPolylineWithCoordinates:count:drawIndexs:替换");
106 count:(NSUInteger)count
107 textureIndex:(NSArray<NSNumber *> *)textureIndex __deprecated_msg("已废弃since 6.5.0, 请使用BMKMultiPolyline中setMultiPolylineWithPoints:count:drawIndexs:替换");
114- (BOOL)setPolylineWithCoordinates:(CLLocationCoordinate2D *)coords
115 count:(NSUInteger)count
116 textureIndex:(NSArray<NSNumber *> *)textureIndex __deprecated_msg("已废弃since 6.5.0, 请使用BMKMultiPolyline中setMultiPolylineWithCoordinates:count:drawIndexs:替换");
BMKCoordAlgorithm
Definition BMKLineDrawType.h:69
BMKLineDirectionCross180Type
line跨经度180方式
Definition BMKLineDrawType.h:42
Definition BMKMapAnimation.h:70
该类定义多个点,是个由多个点组成的虚基类, 不能直接实例化对象, 要使用其子类BMKPolyline,BMKPolygon来实例化
Definition BMKMultiPoint.h:18
此类用于定义一段折线
Definition BMKPolyline.h:16
BMKCoordAlgorithm thin
Definition BMKPolyline.h:24
BMKLineDirectionCross180Type lineDirectionCross180
Definition BMKPolyline.h:41
BOOL isThined
Definition BMKPolyline.h:20
float smoothFactor
平滑算法系数,默认16,since 6.6.3
Definition BMKPolyline.h:31
BMKMapAnimation * animation
轨迹动画,使用BMKMapAnimation子类实现动画,支持BMKMapAlphaAnimation,BMKMapTrackAnimation,since 6.6....
Definition BMKPolyline.h:34
float thinFactor
抽稀算法系数,默认4,since 6.6.3
Definition BMKPolyline.h:26
NSArray< NSNumber * > *textureIndex __deprecated_msg("已废弃since 6.5.0, 请使用BMKMultiPolyline中drawIndexs")
颜色/纹理索引数组
BMKCoordAlgorithm smooth
Definition BMKPolyline.h:29
该类是地图覆盖物的基类,所有地图的覆盖物需要继承自此类
Definition BMKOverlay.h:17
地理坐标点,用直角地理坐标表示
Definition BMKTypes.h:222