智能客服
你问我答,随时在线为你解决问题
Class Info |
|---|
public class NaviLocation GPS位置信息类。 |
Qualifier and Type | Method Name and Description |
|---|---|
float | 获取当前GPS定位精确度值。 |
double | 获取海拔高度。 |
float | 获取定位方位。 |
getCoord() 获取位置的经纬度坐标。 | |
boolean | 获取惯性匹配标识。 |
| 获取匹配到规划路线的经纬度坐标。 | |
int | 获取路径匹配状态。 |
| 获取原始位置的经纬度坐标。 | |
float | 获取当前定位点的原始速度。 |
float | 获取相对坐标索引,4K导航使用。 |
float | 获取道路方位。 |
int | 获取经过的路段下标。 |
float | getSpeed() 获取定位点的速度(公制速度)。 |
long | getTime() 获取定位时间。 |
int | 获取经过第几个途经点。 |
boolean | 获取当前位置是否匹配到道路上。 |
Location | 转换成Android系统Location对象。 |
String | toString() GPS位置信息转换String。 |
Method |
|---|
public float getAccuracy() 您调用此API可以获取当前GPS定位精确度值。 |
Returns
Type | Description |
|---|---|
float | 返回当前GPS定位精确度值。 |
Method |
|---|
public double getAltitude() 您调用此API可以获取海拔高度。 |
Returns
Type | Description |
|---|---|
double | 返回海拔高度。 |
Method |
|---|
public float getBearing() 您调用此API可以获取定位方位。 |
Returns
Type | Description |
|---|---|
float | 返回定位方位值。 |
Method |
|---|
public NaviLatLng getCoord() 您调用此API可以获取位置的经纬度坐标。 |
Returns
Type | Description |
|---|---|
导航经纬度对象类。 |
Method |
|---|
public boolean getIsInertial() 您调用此API可以获取惯性匹配标识。 |
Returns
Type | Description |
|---|---|
boolean | 返回是否匹配惯性。 |
Method |
|---|
public NaviLatLng getMatchCoord() 您调用此API可以获取匹配到规划路线的经纬度坐标。 |
Returns
Type | Description |
|---|---|
导航经纬度对象类。 |
Method |
|---|
public int getMatchStatus() 您调用此API可以获取路径匹配状态。 |
Returns
Type | Description |
|---|---|
int | 路径匹配状态。
|
Method |
|---|
public NaviLatLng getOrigCoord() 您调用此API可以获取原始位置的经纬度坐标。 |
Returns
Type | Description |
|---|---|
导航经纬度对象类。 |
Method |
|---|
public float getOriginSpeed() 您调用此API可以获取当前定位点的原始速度。 |
Returns
Type | Description |
|---|---|
float | 当前定位点的原始速度,单位:km/h。 |
Method |
|---|
public float getRelativeShpIdx() 您调用此API可以获取相对坐标索引,4K导航使用。 |
Returns
Type | Description |
|---|---|
float | 相对坐标索引。 |
Method |
|---|
public float getRoadBearing() 您调用此API可以获取道路方位。 |
Returns
Type | Description |
|---|---|
float | 道路方位值。 |
Method |
|---|
public int getShpIdx() 您调用此API可以获取经过的路段下标。 |
Returns
Type | Description |
|---|---|
int | 经过的路段下标。 |
Method |
|---|
public float getSpeed() 您调用此API可以获取定位点的速度(公制速度)。 |
Returns
Type | Description |
|---|---|
float | 当前定位点的速度(公制速度),单位:km/h。 |
Method |
|---|
public long getTime() 您调用此API可以获取定位时间。 |
Returns
Type | Description |
|---|---|
long | 定位的时间。 |
Method |
|---|
public int getViaIdx() 您调用此API可以获取经过第几个途经点。 |
Returns
Type | Description |
|---|---|
int | 经过第几个途经点。 |
Method |
|---|
public boolean isMatchNaviPath() 您调用此API可以获取当前位置是否匹配到道路上。 |
Returns
Type | Description |
|---|---|
boolean | 当前位置是否匹配到道路上。 |
Method |
|---|
public Location toLocation() 您调用此API可以转换成Android系统Location对象。 |
Returns
Type | Description |
|---|---|
Location | Android系统Location对象。 |
Method |
|---|
public String toString() 您调用此API可以把GPS位置信息转换String。 |
Returns
Type | Description |
|---|---|
String | GPS位置信息。 |