public class AMapLaneInfo
extends java.lang.Object
| 限定符和类型 | 字段和说明 |
|---|---|
int[] |
backgroundLane
背景车道
道路背景数据数组,可用于装载官方的DriveWayView,并显示。 |
int[] |
frontLane
前景车道
道路推荐数据数组,可用于装载官方的DriveWayView,并显示。 |
int |
laneCount
车道个数
|
| 构造器和说明 |
|---|
AMapLaneInfo() |
| 限定符和类型 | 方法和说明 |
|---|---|
char[] |
getLaneTypeIdArray()
获取车道类型数组,数组大小固定为2。
|
boolean |
isRecommended()
道路是否被推荐
|
public int[] backgroundLane
AMapNaviListener.showLaneInfo(AMapLaneInfo)回调中使用。LaneActionpublic int[] frontLane
AMapNaviListener.showLaneInfo(AMapLaneInfo)回调中使用。LaneActionpublic int laneCount
public boolean isRecommended()
public char[] getLaneTypeIdArray()
AMapNaviListener.showLaneInfo(AMapLaneInfo[],byte[],byte[])回调中调用。
数组中元素代表车道转向类型,第一个元素表示该车道可以执行的动作,第二个元素表示用户需要执行的动作,若为F表示不推荐用户选择该车道。