public class AMapNaviLocation
extends java.lang.Object
| 构造器和说明 |
|---|
AMapNaviLocation() |
| 限定符和类型 | 方法和说明 |
|---|---|
float |
getAccuracy()
获取定位精度
Get positioning accuracy |
double |
getAltitude()
获取海拔高度
Get altitude |
float |
getBearing()
获取定位方向
Get positioning direction |
NaviLatLng |
getCoord()
获取当前位置的经纬度坐标
Get the latitude and longitude coordinates of the current position |
int |
getCurLinkIndex()
获取当前点相对于当前step的link索引
Get the link index of the current point relative to the current step |
int |
getCurPointIndex()
获取当前点相对于当前link的点的索引
Get the point index of the current point relative to the current link |
int |
getCurStepIndex()
获取当前点相对于整条路的step索引
Get the step index of the current point relative to the entire route |
int |
getLocationType()
获取定位方式
Get positioning method |
float |
getSpeed()
获取当前定位点的速度
Get the speed of the current positioning point |
java.lang.Long |
getTime()
获取定位时间
Get positioning time |
boolean |
isMatchNaviPath()
当前坐标是否匹配在路线上
Whether the current coordinates match the route |
public int getCurStepIndex()
public int getCurLinkIndex()
public int getCurPointIndex()
public boolean isMatchNaviPath()
public float getAccuracy()
public double getAltitude()
public float getBearing()
public float getSpeed()
public java.lang.Long getTime()
public NaviLatLng getCoord()
public int getLocationType()