TencentNavKit
TNKDriveRouteExplain.h
Go to the documentation of this file.
1//
2// TNKDriveRouteExplain.h
3// TencentNavKit
4//
5// Created by mol on 2022/10/10.
6// Copyright © 2022 Tencent. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import <TencentNavKit/TNKCommonObj.h>
11
12NS_ASSUME_NONNULL_BEGIN
13
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};
45
50@interface TNKDriveRouteExplain : NSObject
51
55@property (nonatomic, readonly) TNKDriveRouteExplainType type;
56
60@property (nonatomic, readonly) NSArray<TNKCoordinatePoint *> *points;
61
65@property (nonatomic, readonly) NSString *content;
66
70@property (nonatomic, readonly) int from;
71
75@property (nonatomic, readonly) int to;
76
77
78@end
79
80NS_ASSUME_NONNULL_END
NS_ASSUME_NONNULL_BEGIN typedef NS_ENUM(NSUInteger, TNKDriveRouteExplainType)
驾车路线解释性类型.
Definition: TNKDriveRouteExplain.h:18
驾车路线解释性类.
Definition: TNKDriveRouteExplain.h:51
int to
路线解释性终止点索引
Definition: TNKDriveRouteExplain.h:75
int from
路线解释性起始点索引
Definition: TNKDriveRouteExplain.h:70
NSString * content
路线解释性的描述. since 5.2.4
Definition: TNKDriveRouteExplain.h:65
TNKDriveRouteExplainType type
驾车路线解释性类型. since 5.2.4
Definition: TNKDriveRouteExplain.h:55
NSArray< TNKCoordinatePoint * > * points
路线解释性的点串信息. since 5.2.4
Definition: TNKDriveRouteExplain.h:60