public class AMapNaviTrafficFacilityInfo
extends java.lang.Object
| 限定符和类型 | 字段和说明 |
|---|---|
int |
distance
距离设施的剩余距离,单位:米
Remaining distance to the facility, unit: meters |
double |
latitude
纬度
Latitude |
int |
limitSpeed
限速值,单位:公里/小时
Speed limit value, unit: kilometers/hour |
double |
longitude
经度
Longitude |
int |
type
类型
Type |
| 构造器和说明 |
|---|
AMapNaviTrafficFacilityInfo(CruiseFacilityInfo trafficFacilityInfo) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getBroadcastType()
获取道路设施类型
Get the type of road facility |
double |
getCoorX()
获取道路设施经度(水平方向)
Get the longitude of the road facility (horizontal direction) |
double |
getCoorY()
获取道路设施纬度(垂直方向))
Get the latitude of the road facility (vertical direction) |
int |
getDistance()
获取道路设施距离
Get the distance to the road facility |
int |
getLimitSpeed()
获取道路设施限速速度
Get the speed limit of the road facility |
public double longitude
public double latitude
public int type
public int distance
public int limitSpeed
public AMapNaviTrafficFacilityInfo(CruiseFacilityInfo trafficFacilityInfo)
public int getLimitSpeed()
public double getCoorX()
public int getDistance()
public int getBroadcastType()
public double getCoorY()