TencentNavKit

TNKRouteConfig.h
Go to the documentation of this file.
1//
2// TNKCarRouteColorQuickSelector.h
3// TencentNavKit
4//
5// Created by tabsong on 2021/12/30.
6// Copyright © 2021 Tencent. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import <TencentNavKit/TNKRouteLineConfig.h>
11
12NS_ASSUME_NONNULL_BEGIN
13
17@interface TNKRouteConfig : NSObject
18
28- (instancetype)initWithMainRouteColorConfig:(TNKRouteLineConfig * __nullable)mainRouteColorConfig
29 accompanyRouteColorConfig:(TNKRouteLineConfig * __nullable)accompanyRouteColorConfig;
30
34@property(nonatomic, strong, readonly) TNKRouteLineConfig *mainRouteColorConfig;
35
39@property(nonatomic, strong, readonly) TNKRouteLineConfig *accompanyRouteColorConfig;
40
41
46@property (nonatomic, assign) CGFloat flowArrowGap;
47
48@end
49
50NS_ASSUME_NONNULL_END
TNKRouteConfig
导航路线样式配置类
Definition: TNKRouteConfig.h:18
TNKRouteConfig::flowArrowGap
CGFloat flowArrowGap
导航过程中路况线上的箭头密度.需在导航开始前设置. 默认值是100.
Definition: TNKRouteConfig.h:46
TNKRouteConfig::accompanyRouteColorConfig
TNKRouteLineConfig * accompanyRouteColorConfig
导航伴随路线样式配置
Definition: TNKRouteConfig.h:39
TNKRouteConfig::mainRouteColorConfig
TNKRouteLineConfig * mainRouteColorConfig
导航主路线样式配置
Definition: TNKRouteConfig.h:34
TNKRouteLineConfig
导航路线颜色配置.
Definition: TNKRouteLineConfig.h:16