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

Loading...
Searching...
No Matches
AMapNaviMpidRestoreOption.h
Go to the documentation of this file.
1//
2// AMapNaviMpidRestoreOption.h
3// AMapNaviKit
4//
5// Created by caowei on 2025/3/18.
6// Copyright © 2025 Amap. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10
11NS_ASSUME_NONNULL_BEGIN
12
14 typedef NS_ENUM(NSInteger, AMapNaviMpidRestoreType) {
15 AMapNaviMpidRestoreTypeForce = 0, // 强制还原模式（默认）
16 AMapNaviMpidRestoreTypeExtended = 1 // 扩展还原模式（补充备选路线）
17};
18
20@interface AMapNaviMpidRestoreOption : NSObject
21
23@property(nonatomic, copy) NSString *mpid;
24
26@property(nonatomic, assign) AMapNaviMpidRestoreType restoreType;
27
28
29- (instancetype)initWithMPID:(NSString *)mpid
30 restoreType:(AMapNaviMpidRestoreType)restoreType;
31
32@end
33
34NS_ASSUME_NONNULL_END
AMapNaviMpidRestoreType
AMapNaviMpidRestoreType
Definition AMapNaviMpidRestoreOption.h:14
AMapNaviMpidRestoreTypeForce
@ AMapNaviMpidRestoreTypeForce
Definition AMapNaviMpidRestoreOption.h:15
AMapNaviMpidRestoreTypeExtended
@ AMapNaviMpidRestoreTypeExtended
Definition AMapNaviMpidRestoreOption.h:16
AMapNaviMpidRestoreOption
mpid 还原参数
Definition AMapNaviMpidRestoreOption.h:21
AMapNaviMpidRestoreOption::restoreType
AMapNaviMpidRestoreType restoreType
路线还原类型 , 默认值为AMapNaviMpidRestoreTypeForce
Definition AMapNaviMpidRestoreOption.h:26
AMapNaviMpidRestoreOption::mpid
NSString * mpid
定制路线的标识
Definition AMapNaviMpidRestoreOption.h:23
© 2017 高德信息技术有限公司 版权所有，保留所有权利。