9#import <Foundation/Foundation.h>
10#import <TencentNavKit/TNKCommonObj.h>
12NS_ASSUME_NONNULL_BEGIN
18typedef NS_ENUM(NSUInteger, TNKDriveRouteExplainType) {
19 TNKDriveRouteExplainTypeUnknown = 0,
20 TNKDriveRouteExplainTypeFerry = 1,
21 TNKDriveRouteExplainTypeAvoidCongestion = 2,
22 TNKDriveRouteExplainTypeAvoidClosingRoad = 3,
23 TNKDriveRouteExplainTypeClosingRoad = 4,
24 TNKDriveRouteExplainTypeAvoidNarrowRoad = 5,
25 TNKDriveRouteExplainTypeNarrowRoad = 6,
26 TNKDriveRouteExplainTypeAvoidMountainRoad = 7,
27 TNKDriveRouteExplainTypeMountainRoad = 8,
28 TNKDriveRouteExplainTypeLimitAtStart = 9,
29 TNKDriveRouteExplainTypeLimitAtEnd = 10,
30 TNKDriveRouteExplainTypeLimitAtStartAndEnd = 11,
31 TNKDriveRouteExplainTypeCannotAvoidLimit = 12,
32 TNKDriveRouteExplainTypeTruckLimitAtStart = 13,
33 TNKDriveRouteExplainTypeTruckLimitAtEnd = 14,
34 TNKDriveRouteExplainTypeTruckLimitAtStartAndEnd = 15,
35 TNKDriveRouteExplainTypeTruckLimitAtWaypoint = 16,
36 TNKDriveRouteExplainTypeAvoidNewClosingRoad = 17,
37 TNKDriveRouteExplainTypeAvoidLimitRoad = 18,
38 TNKDriveRouteExplainTypeAvoidProhibitedEnter = 19,
39 TNKDriveRouteExplainTypeAvoidNoTurning = 20,
40 TNKDriveRouteExplainTypeAvoidNoRightTurning = 21,
41 TNKDriveRouteExplainTypeAvoidNoLeftTurning = 22,
42 TNKDriveRouteExplainTypeAvoidNoStraightAhead = 23,
43 TNKDriveRouteExplainTypeTypeInternalRoad = 24,
44 TNKDriveRouteExplainTypeAvoidFerry = 25,
45 TNKDriveRouteExplainTypeAvoidNo_Hightway = 26,
46 TNKDriveRouteExplainTypeDestIsAboutToClose = 27,
47 TNKDriveRouteExplainTypeDestIsClose = 28,
48 TNKDriveRouteExplainTypeDestIsResting = 29,
49 TNKDriveRouteExplainTypeDestIsNotOpenToday = 30,
50 TNKDriveRouteExplainTypeDestIsAboutToOpen = 31,
51 TNKDriveRouteExplainTypeDestHasNotYetOpened = 32,
52 TNKDriveRouteExplainTypeDestHasNotYetStartBusiness = 33,
53 TNKDriveRouteExplainTypeDestHasNotYetStartWorking = 34,
54 TNKDriveRouteExplainTypeDestIsTemporarilyClosed = 35,
55 TNKDriveRouteExplainTypeDestIsTemporarilyOutOfBusiness = 36,
56 TNKDriveRouteExplainTypeDestIsTemporarilyNotWorking = 37,
57 TNKDriveRouteExplainTypeDestIsClosed = 38,
58 TNKDriveRouteExplainTypeDestIsUnderConstruction = 39,
59 TNKDriveRouteExplainTypeDestAreaIsTemporarilyOutOfBusiness = 40,
60 TNKDriveRouteExplainTypeDestAreaHasNotYetStartedBusiness = 41,
61 TNKDriveRouteExplainTypeDestAreaIsUnderConstruction = 42,
62 TNKDriveRouteExplainTypeCameraOfNew = 43,
63 TNKDriveRouteExplainTypeCameraOfViolation = 44,
64 TNKDriveRouteExplainTypePointEventAccident = 45,
65 TNKDriveRouteExplainTypePointEventControl = 46,
66 TNKDriveRouteExplainTypePointEventConstruction = 47,
67 TNKDriveRouteExplainTypePointEventObstacle = 48,
68 TNKDriveRouteExplainTypePointEventActivity = 49,
69 TNKDriveRouteExplainTypePointEventBadWeather = 50,
70 TNKDriveRouteExplainTypePointEventDisaster = 51,
71 TNKDriveRouteExplainTypePointEventCheck = 52,
72 TNKDriveRouteExplainTypePointEventWaterlogged = 53,
73 TNKDriveRouteExplainTypePointEventNotification = 54,
74 TNKDriveRouteExplainTypePassingThroughWaterloggedPoint = 55,
75 TNKDriveRouteExplainTypeTruckAvoidNoHeight = 56,
76 TNKDriveRouteExplainTypeTruckAvoidNoWidth = 57,
77 TNKDriveRouteExplainTypeTruckAvoidNoWeight = 58,
78 TNKDriveRouteExplainTypeTruckAvoidNoStraightAhead = 59,
79 TNKDriveRouteExplainTypeTruckAvoidNoRightTurning = 60,
80 TNKDriveRouteExplainTypeTruckAvoidNoLeftTurning = 61,
81 TNKDriveRouteExplainTypeTruckAvoidNoTurning = 62,
82 TNKDriveRouteExplainTypeTruckAvoidNoProhibitedEnter = 63,
94@property (nonatomic, readonly) TNKDriveRouteExplainType
type;
99@property (nonatomic, readonly) NSArray<TNKCoordinatePoint *> *
points;
104@property (nonatomic, readonly) NSString *
content;
109@property (nonatomic, readonly)
int from;
114@property (nonatomic, readonly)
int to;
119@property (nonatomic, readonly) NSArray<NSString *> *
detail_ids;
NS_ASSUME_NONNULL_BEGIN typedef NS_ENUM(NSUInteger, TNKDriveRouteExplainType)
驾车路线解释性类型.
Definition: TNKDriveRouteExplain.h:18
驾车路线解释性类.
Definition: TNKDriveRouteExplain.h:90
int to
路线解释性终止点索引
Definition: TNKDriveRouteExplain.h:114
int from
路线解释性起始点索引
Definition: TNKDriveRouteExplain.h:109
NSString * content
路线解释性的描述. since 5.2.4
Definition: TNKDriveRouteExplain.h:104
NSArray< NSString * > * detail_ids
透出限行区域规则ID功能. since 6.10.0
Definition: TNKDriveRouteExplain.h:119
TNKDriveRouteExplainType type
驾车路线解释性类型. since 5.2.4
Definition: TNKDriveRouteExplain.h:94
NSArray< TNKCoordinatePoint * > * points
路线解释性的点串信息. since 5.2.4
Definition: TNKDriveRouteExplain.h:99