public class DriveWayView
extends LinearLayout
限定符和类型 | 方法和说明 |
---|---|
int |
getDriveWayBgHeight()
返回单车道控件高度
|
int |
getDriveWaySize()
车道数量
|
int |
getDriveWaysWidth()
获取车道总宽度,包括中间竖线
|
int |
getDriveWayWidth()
返回单车道控件宽度
|
void |
loadDriveWayBitmap(AMapLaneInfo laneInfo)
加载车道背景和推荐车道线数据,自动产生对应的车道信息位图
|
void |
loadDriveWayBitmap(byte[] laneBackgroundInfo,
byte[] laneRecommendedInfo)
|
public void loadDriveWayBitmap(byte[] laneBackgroundInfo, byte[] laneRecommendedInfo)
laneBackgroundInfo
- 背景数据数组laneRecommendedInfo
- 推荐数据数组public void loadDriveWayBitmap(AMapLaneInfo laneInfo)
laneInfo
- 车道背景数据,可通过 AMapNaviListener.showLaneInfo(AMapLaneInfo)
获取public int getDriveWaySize()
public int getDriveWayBgHeight()
public int getDriveWayWidth()
public int getDriveWaysWidth()