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 |
void |
setBroadcastType(int broadcastType)
设置道路设施类型
Set the type of road facility. |
void |
setCoorX(double coorX)
设置道路设施经度(水平方向)
Set the longitude of the road facility (horizontal direction) |
void |
setCoorY(double coorY)
设置道路设施纬度(垂直方向))
Set the latitude of the road facility (vertical direction) |
void |
setDistance(int distance)
设置道路设施距离
Set the distance to the road facility |
void |
setLimitSpeed(int limitSpeed)
设置道路设施限速速度
Set 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 void setLimitSpeed(int limitSpeed)
limitSpeed - 限速速度public double getCoorX()
public void setCoorX(double coorX)
coorX - 道路设施经度(水平方向)public int getDistance()
public void setDistance(int distance)
distance - 道路设施距离public int getBroadcastType()
public void setBroadcastType(int broadcastType)
设施类型:
Facility type:
0:未知道路设施
0: Unknown road facility
4:测速摄像头、测速雷达
4: Speed camera, speed radar
5:违章摄像头
5: Violation camera
12:铁路道口
12: Railway crossing
13:注意落石(左侧)
13: Watch out for falling rocks (left side)
14:事故易发地段
14: Accident-prone area
15:易滑
15: Slippery road
16:村庄
16: Village
18:前方学校
18: School ahead
19:有人看管的铁路道口
19: Attended railway crossing
20:无人看管的铁路道口
20: Unattended railway crossing
21:两侧变窄
21: Narrow on both sides
22:向左急弯路
22: Sharp left turn
23:向右急弯路
23: Sharp right turn
24:反向弯路
24: Reverse curve
25:连续弯路
25: Continuous curves
26:左侧合流标识牌
26: Left merge sign
27:右侧合流标识牌
27: Right merge sign
28:监控摄像头
28: Surveillance camera
29:专用道摄像头
29: Dedicated lane camera
31:禁止超车
31: No overtaking
36:右侧变窄
36: Narrow on the right
37:左侧变窄
37: Narrow on the left
38:窄桥
38: Narrow bridge
39:左右绕行
39: Detour left and right
40:左侧绕行
40: Detour left
41:右侧绕行
41: Detour right
42:注意落石(右侧)
42: Watch out for falling rocks (right side)
43:傍山险路(左侧)
43: Mountainous road (left side)
44:傍山险路(右侧)
44: Mountainous road (right side)
47:上陡坡
47: Steep uphill
48:下陡坡
48: Steep downhill
49:过水路面
49: Water-covered road surface
50:路面不平
50: Uneven road surface
52:慢行
52: Slow down
53:注意危险
53: Caution danger
58:隧道
58: Tunnel
59:渡口
59: Ferry terminal
100:不绑定电子眼高发地
100: High-frequency electronic eye location without binding
broadcastType - 道路设施类型public double getCoorY()
public void setCoorY(double coorY)
coorY - 道路设施纬度(垂直方向))