BBASMMapPolylineProtocol.h
988 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//
// BBASMMapPolylineProtocol.h
// BBAMNP
//
// Created by baidu on 2019/1/10.
//
#import <Foundation/Foundation.h>
#import "BBASMAdapterBaseImplement.h"
NS_ASSUME_NONNULL_BEGIN
@class CLLocation;
/**
* @brief Map 折线协议
*/
@protocol BBASMMapPolylineProtocol <NSObject>
/// 经纬度数组
@property(nonatomic,copy) NSArray<CLLocation *> *points;
/// 线的颜色
@property(nonatomic,strong) UIColor *color;
/// 线的宽度
@property(nonatomic,assign) double width;
/// 是否虚线 Boolean 否 默认false
@property(nonatomic,assign) BOOL dottedLine;
/// 带箭头的线 Boolean 否 默认false
@property(nonatomic,assign) BOOL arrowLine;
/// 更换箭头图标, 在arrowLine为true时生效
@property(nonatomic,copy) NSString *arrowIconPath;
/// 线的边框颜色
@property(nonatomic,strong) UIColor *borderColor;
/// 线的厚度
@property(nonatomic,assign) double borderWidth;
/// 圆角
@property CGFloat cornerRadius;
@end
NS_ASSUME_NONNULL_END