BaiduMap_IOSSDK_v7.2.0_Docs 7.2.0

BMKWalkCycleRouteResult.h
浏览该文件的文档.
1 //
2 // BMKWalkCycleRouteResult.h
3 // BaiduMapAPI_WalkNavi
4 //
5 // Created by baidu on 2024/2/5.
6 // Copyright © 2024 Baidu. All rights reserved.
7 //
8
9 #import <Foundation/Foundation.h>
10 #import <BaiduMapAPI_Base/BMKTypes.h>
11 #import "BMKWalkCycleDefine.h"
12
13 NS_ASSUME_NONNULL_BEGIN
14 @interface BMKWalkCycleRouteStep : NSObject
16 @property (nonatomic, assign) BMKWalkCycleGuideKind guideKind;
18 @property (nonatomic, copy) NSString *roadName;
20 @property (nonatomic, assign) NSUInteger distance;
22 @property (nonatomic, strong) NSArray<NSValue *> *coordinates;
23 @end
24
25 @interface BMKWalkCycleRouteResult : NSObject
26
28 @property (nonatomic, assign) NSUInteger distance;
30 @property (nonatomic, assign) NSUInteger duration;
32 @property (nonatomic, assign) NSUInteger lightCount;
34 @property (nonatomic, strong) NSArray<NSValue *> *positions;
36 @property (nonatomic, strong) NSArray<BMKWalkCycleRouteStep *> *routeSteps;
37 @end
38
39
40 NS_ASSUME_NONNULL_END
BMKWalkCycleRouteResult
Definition: BMKWalkCycleRouteResult.h:26
BMKWalkCycleRouteStep::distance
NSUInteger distance
当前step距离，单位米
Definition: BMKWalkCycleRouteResult.h:20
BMKWalkCycleRouteStep
Definition: BMKWalkCycleRouteResult.h:15
BMKWalkCycleDefine.h
BMKWalkCycleRouteStep::coordinates
NSArray< NSValue * > * coordinates
当前路段的坐标集合
Definition: BMKWalkCycleRouteResult.h:22
BMKWalkCycleRouteStep::roadName
NSString * roadName
路名
Definition: BMKWalkCycleRouteResult.h:18
BMKWalkCycleRouteStep::guideKind
BMKWalkCycleGuideKind guideKind
导航机动类型信息
Definition: BMKWalkCycleRouteResult.h:16