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