TencentNavKit

TNKUIComponentConfig.h
Go to the documentation of this file.
1
2#import <Foundation/Foundation.h>
3
4NS_ASSUME_NONNULL_BEGIN
5
6@interface TNKUIComponentConfig : NSObject
7
11@property (nonatomic, assign) NSUInteger panelTopGap;
12
16@property (nonatomic, assign) NSUInteger panelButtomGap;
17
21@property (nonatomic, assign) BOOL navigationPanelEnabled;
22
27@property (nonatomic, assign) BOOL guidedLaneEnabled;
28
32@property (nonatomic, assign) BOOL showBottomToolbar;
33
37@property (nonatomic, assign) BOOL showToast;
38
42@property (nonatomic, assign) BOOL showCurrentSpeedView;
43
47@property (nonatomic, assign) BOOL showGrossSpeedingView;
48
52@property (nonatomic, assign) BOOL showTrafficBar;
53
57@property (nonatomic, assign) BOOL showRoadTypeButton;
58
62@property (nonatomic, assign) BOOL showLimitSpeedAndCurrentRoadNameView;
63
67@property (nonatomic, assign) BOOL showSmartLocView;
68
72@property (nonatomic, assign) BOOL showOverviewButton;
73
77@property (nonatomic, assign) BOOL showRouteRefreshButton;
78
82@property (nonatomic, assign) BOOL showMapTrafficButton;
83
87@property (nonatomic, assign) BOOL showBroadCastButton;
88
92@property (nonatomic, assign) BOOL showServiceAreaInfo;
93
97@property (nonatomic, assign) BOOL showSettingButton;
98
102@property (nonatomic, assign) BOOL showExitButton;
103
104
105
106@end
107
108NS_ASSUME_NONNULL_END
TNKUIComponentConfig
Definition: TNKUIComponentConfig.h:7
TNKUIComponentConfig::showToast
BOOL showToast
是否显示提示(包括GPS变弱、恢复，切换路线成功，手动刷新路线)，默认NO
Definition: TNKUIComponentConfig.h:37
TNKUIComponentConfig::guidedLaneEnabled
BOOL guidedLaneEnabled
设置在3D车头朝上和2D地图朝北模式下 显示/隐藏路口车道线. 默认为YES 注意不管此参数如何设置，在全览模式和剩余全览模式下都会隐藏.
Definition: TNKUIComponentConfig.h:27
TNKUIComponentConfig::navigationPanelEnabled
BOOL navigationPanelEnabled
是否展示顶部导航面板, 默认为YES
Definition: TNKUIComponentConfig.h:21
TNKUIComponentConfig::showSmartLocView
BOOL showSmartLocView
是否显示智能定位. 默认NO. since 5.2.2
Definition: TNKUIComponentConfig.h:67
TNKUIComponentConfig::showGrossSpeedingView
BOOL showGrossSpeedingView
是否展示严重超速视图，默认NO
Definition: TNKUIComponentConfig.h:47
TNKUIComponentConfig::panelTopGap
NSUInteger panelTopGap
导航面板顶部空隙距离. 默认为全屏状态下避开状态栏. 取值范围为[0,100].
Definition: TNKUIComponentConfig.h:11
TNKUIComponentConfig::panelButtomGap
NSUInteger panelButtomGap
导航面板底部空隙距离. 预留给业务使用的区域.默认值0, 取值范围[0,.
Definition: TNKUIComponentConfig.h:16
TNKUIComponentConfig::showCurrentSpeedView
BOOL showCurrentSpeedView
是否显示当前车速， 默认NO
Definition: TNKUIComponentConfig.h:42
TNKUIComponentConfig::showMapTrafficButton
BOOL showMapTrafficButton
是否显示切换实时路况的按钮,默认NO
Definition: TNKUIComponentConfig.h:82
TNKUIComponentConfig::showServiceAreaInfo
BOOL showServiceAreaInfo
是否显示高速休息区信息，默认NO
Definition: TNKUIComponentConfig.h:92
TNKUIComponentConfig::showBottomToolbar
BOOL showBottomToolbar
是否显示底部工具栏，默认NO（包含退出、剩余距离时间、预计到达时间、设置）
Definition: TNKUIComponentConfig.h:32
TNKUIComponentConfig::showSettingButton
BOOL showSettingButton
是否显示设置按钮，默认NO
Definition: TNKUIComponentConfig.h:97
TNKUIComponentConfig::showOverviewButton
BOOL showOverviewButton
是否显示全览/退出全览切换按钮，默认NO
Definition: TNKUIComponentConfig.h:72
TNKUIComponentConfig::showTrafficBar
BOOL showTrafficBar
是否显示路况光柱图，默认NO，从7.0开始，光柱图默认是显示在下面的BottomToolbar上的（水平显示）
Definition: TNKUIComponentConfig.h:52
TNKUIComponentConfig::showRouteRefreshButton
BOOL showRouteRefreshButton
是否显示路线刷新按钮，默认为NO. since 5.2.5
Definition: TNKUIComponentConfig.h:77
TNKUIComponentConfig::showExitButton
BOOL showExitButton
是否显示退出按钮，默认NO
Definition: TNKUIComponentConfig.h:102
TNKUIComponentConfig::showLimitSpeedAndCurrentRoadNameView
BOOL showLimitSpeedAndCurrentRoadNameView
是否显示限速、当前路名， 默认NO
Definition: TNKUIComponentConfig.h:62
TNKUIComponentConfig::showRoadTypeButton
BOOL showRoadTypeButton
是否显示主辅路切换按钮，默认NO
Definition: TNKUIComponentConfig.h:57
TNKUIComponentConfig::showBroadCastButton
BOOL showBroadCastButton
是否显示语音播报按钮,默认NO
Definition: TNKUIComponentConfig.h:87