高德地图SDK(导航) V11.2.0501

Loading...
Searching...
No Matches
AMapNaviDriveViewConfig.h
Go to the documentation of this file.
1//
2// AMapNaviDriveViewConfig.h
3// AMapNaviKit
4//
5// Created by caowei on 2024/7/18.
6// Copyright © 2024 Amap. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import "AMapNaviCommonObj.h"
11//#import "AMapNaviCommonObj_Addition.h"
12// @since 10.0.820
13
14NS_ASSUME_NONNULL_BEGIN
15
16 typedef NS_ENUM(NSUInteger, AMapNaviDriveViewState) {
17 AMapNaviDriveViewStateNone, // 设置此值无效 This setting is invalid
18 AMapNaviDriveViewStatePlan, // 行前 Before Departure
19 AMapNaviDriveViewStateNaving, //行中 En route
20};
21
22// 初始化driveView时生效 Takes effect when initializing driveView
23// @since 10.0.820
24@interface AMapNaviDriveViewConfig : NSObject
25
28@property(nonatomic, assign) AMapNaviDriveViewState state;
29
36@property(nonatomic, assign) BOOL showSettingView;
37
38
43@property(nonatomic, assign) BOOL showNaviPopTips;
44
45
50@property(nonatomic, assign) BOOL showDrivingStrategyPreferenceView;
51
52
59@property(nonatomic, assign) BOOL showRestrictareaEnable;
60
61
69@property(nonatomic, assign) AMapNaviDrivingStrategy drivingStrategy;
70
73@property (nonatomic, assign) AMapNaviRouteAnnoState showRouteAnnotation;
74
75
82@property (nonatomic, assign) BOOL showNextRoadInfo;
83
90@property (nonatomic, assign) CGFloat scaleFactor;
91
92@end
93
94NS_ASSUME_NONNULL_END
AMapNaviCommonObj.h
AMapNaviDrivingStrategy
AMapNaviDrivingStrategy
Definition AMapNaviCommonObj.h:72
AMapNaviDriveViewState
AMapNaviDriveViewState
Definition AMapNaviDriveViewConfig.h:16
AMapNaviDriveViewStatePlan
@ AMapNaviDriveViewStatePlan
Definition AMapNaviDriveViewConfig.h:18
AMapNaviDriveViewStateNone
@ AMapNaviDriveViewStateNone
Definition AMapNaviDriveViewConfig.h:17
AMapNaviDriveViewStateNaving
@ AMapNaviDriveViewStateNaving
Definition AMapNaviDriveViewConfig.h:19
AMapNaviDriveViewConfig
Definition AMapNaviDriveViewConfig.h:25
AMapNaviDriveViewConfig::showDrivingStrategyPreferenceView
BOOL showDrivingStrategyPreferenceView
设置路径规划偏好策略页面是否显示. 默认为YES. Set whether the path planning preference strategy page is displayed....
Definition AMapNaviDriveViewConfig.h:50
AMapNaviDriveViewConfig::scaleFactor
CGFloat scaleFactor
支持自定义屏幕scale sicne 10.5.2.03 Support custom screen scale since 10.5.2.03
Definition AMapNaviDriveViewConfig.h:90
AMapNaviDriveViewConfig::drivingStrategy
AMapNaviDrivingStrategy drivingStrategy
设置驾车路径规划策略. 默认值 AMapNaviDrivingStrategyMultipleDefault . 如果要设置摩托车等非驾车策略，需要在使用AmapNaviDriveView前，设置车辆信...
Definition AMapNaviDriveViewConfig.h:69
AMapNaviDriveViewConfig::showNaviPopTips
BOOL showNaviPopTips
导航过程中是否显示底部的tips, 包括：路线切换，禁限行提示等，默认值：true， 显示 Whether to display the bottom tips during navigation,...
Definition AMapNaviDriveViewConfig.h:43
AMapNaviDriveViewConfig::showSettingView
BOOL showSettingView
行中设置 当点击设置按钮时是否显示默认的设置面板。 Inline Settings: Whether to display the default settings panel when the set...
Definition AMapNaviDriveViewConfig.h:36
AMapNaviDriveViewConfig::state
AMapNaviDriveViewState state
Definition AMapNaviDriveViewConfig.h:28
AMapNaviDriveViewConfig::showRouteAnnotation
AMapNaviRouteAnnoState showRouteAnnotation
Definition AMapNaviDriveViewConfig.h:73
AMapNaviDriveViewConfig::showRestrictareaEnable
BOOL showRestrictareaEnable
行前： 设置行前规划页面是否展示限行图层 注意：当前接口为付费接口，使用当前接口需要 官网联系https://lbs.amap.com/ 商务 Pre-Trip: Set whether the res...
Definition AMapNaviDriveViewConfig.h:59
AMapNaviDriveViewConfig::showNextRoadInfo
BOOL showNextRoadInfo
设置导航界面顶部信息是否展示随后转向图标. since 10.0.920 Set whether to display the next turn icon at the top of the navi...
Definition AMapNaviDriveViewConfig.h:82
© 2017 高德信息技术有限公司 版权所有，保留所有权利。