高德地图SDK(导航) V10.0.900
Loading...
Searching...
No Matches
AMapNaviLocation.h
Go to the documentation of this file.
1//
2// AMapNaviLocation.h
3// AMapNaviKit
4//
5// Created by eidan on 2018/1/18.
6// Copyright © 2018年 Amap. All rights reserved.
7//
8
10
12@interface AMapNaviLocation : NSObject<NSCopying>
13
15@property (nonatomic, strong) AMapNaviPoint *coordinate;
16
18@property (nonatomic, assign) double accuracy;
19
21@property (nonatomic, assign) double altitude;
22
24@property (nonatomic, assign) double heading;
25
27@property (nonatomic, assign) NSInteger speed;
28
30@property (nonatomic, strong) NSDate *timestamp;
31
33@property (nonatomic, assign) BOOL isMatchNaviPath;
34
36@property (nonatomic, assign) int currentSegmentIndex;
37
39@property (nonatomic, assign) int currentLinkIndex;
40
42@property (nonatomic, assign) int currentPointIndex;
43
45@property (nonatomic, assign) BOOL isNetworkNavi;
46
47@end
当前的自车位置
Definition AMapNaviLocation.h:12
int currentPointIndex
当前自车位置在当前link段所在的point的index,从0开始 since 6.7.0
Definition AMapNaviLocation.h:42
BOOL isMatchNaviPath
是否匹配在道路上
Definition AMapNaviLocation.h:33
int currentLinkIndex
当前所在的link段的index,从0开始 since 6.7.0
Definition AMapNaviLocation.h:39
NSDate * timestamp
时间戳
Definition AMapNaviLocation.h:30
BOOL isNetworkNavi
当前定位点是否为参与导航的网络点. 注意:只针对驾车. since 6.8.0
Definition AMapNaviLocation.h:45
NSInteger speed
速度(km/h)
Definition AMapNaviLocation.h:27
double altitude
高度
Definition AMapNaviLocation.h:21
AMapNaviPoint * coordinate
经纬度
Definition AMapNaviLocation.h:15
double heading
方向
Definition AMapNaviLocation.h:24
int currentSegmentIndex
当前所在的segment段的index,从0开始 since 6.7.0
Definition AMapNaviLocation.h:36
double accuracy
精确度
Definition AMapNaviLocation.h:18
Definition AMapNaviCommonObj.h:495
© 2017 高德信息技术有限公司 版权所有,保留所有权利。