Class Info |
|---|
public class CoreLocation 内部定位信息类。 |
Qualifier and Type | Method Name and Description |
|---|---|
boolean | 是否需要刷新路线。 |
float | 返回定位精度。 |
int | 获取备选路线ID。 |
double | 返回海拔高度。 |
float | 获取定位方位(方向)。 |
int | 获取鱼骨图路线ID。 |
int | 获取鱼骨图路线ID。 |
getCoord() 返回当前位置的经纬度坐标。 | |
int | 获取当前道路行驶距离。 |
boolean | 获取是否惯性匹配。 |
int | 获取当前所在link索引。 |
| 获取基础匹配位置信息。 | |
int | 获取已经过的形点下标。 |
int | 获取已经过的途径id。 |
| 返回当前匹配的鱼骨图道路坐标。 | |
| 返回当前匹配的道路坐标。 | |
| 返回用户原始坐标。 | |
float | 返回相对形点位置。 |
float | 获取道路方位(方向)。 |
float | getSpeed() 返回当前定位点的速度, 如果此位置不具有速度,则返回0.0。 |
long | getTime() 返回定位时间。 |
String | toString() 获取定位信息字符串。 |
Method |
|---|
public boolean isUpdateRoute() 获取是否需要刷新路线。 |
Returns
Type | Description |
|---|---|
boolean | 是否需要刷新路线
|
Method |
|---|
public float getAccuracy() 获取当前GPS定位精确度值。 |
Returns
Type | Description |
|---|---|
float | 返回当前GPS定位精确度值。 |
Method |
|---|
public int getAlternateRouteId() 获取备选路线ID。 |
Returns
Type | Description |
|---|---|
int | 返回备选路线ID。 |
Method |
|---|
public float getBearing() 获取定位方位(方向)。 |
Returns
Type | Description |
|---|---|
float | 返回定位方位(方向)。 |
Method |
|---|
public int getBranchRouteId1() 获取鱼骨图路线ID。 |
Returns
Type | Description |
|---|---|
int | 返回鱼骨图路线ID。 |
Method |
|---|
public int getBranchRouteId2() 获取鱼骨图路线ID。 |
Returns
Type | Description |
|---|---|
int | 返回鱼骨图路线ID。 |
Method |
|---|
public NaviLatLng getCoord() 获取当前位置的经纬度坐标。 |
Returns
Type | Description |
|---|---|
返回当前位置的经纬度坐标。 |
Method |
|---|
public int getDrivenDistance() 获取当前道路行驶距离。 |
Returns
Type | Description |
|---|---|
int | 返回当前道路行驶距离,单位:米。 |
Method |
|---|
public boolean getIsInertial() 获取是否惯性匹配。 |
Returns
Type | Description |
|---|---|
boolean | 返回是否惯性匹配。 |
Method |
|---|
public int getLinkIdx() 获取当前所在link索引。 |
Returns
Type | Description |
|---|---|
int | 返回当前所在link索引。 |
Method |
|---|
public int getMatchLocation() 获取基础匹配位置信息。 |
Returns
Type | Description |
|---|---|
int | 基础匹配位置信息。 |
Method |
|---|
public int getPassedShpIdx() 获取已经过的形点下标。 |
Returns
Type | Description |
|---|---|
int | 返回已经过的形点下标。 |
Method |
|---|
public int getPassedViaIdx() 获取已经过的途径id。 |
Returns
Type | Description |
|---|---|
int | 返回已经过的途径id。 |
Method |
|---|
public NaviLatLng getPosBranch() 获取当前匹配的鱼骨图道路坐标。 |
Returns
Type | Description |
|---|---|
返回当前匹配的鱼骨图道路坐标。 |
Method |
|---|
public NaviLatLng getPosMatch() 获取当前匹配的道路坐标。 |
Returns
Type | Description |
|---|---|
返回当前匹配的道路坐标。 |
Method |
|---|
public float getRelativeshapeIndex() 获取相对形点位置。 |
Returns
Type | Description |
|---|---|
float | 相对形点位置。 |
Method |
|---|
public float getRoadBearing() 获取道路方位(方向)。 |
Returns
Type | Description |
|---|---|
float | 返回道路方位(方向)。 |