添加转向灯和刹车灯的显示,待验证

This commit is contained in:
lixiaopeng
2022-07-11 17:01:29 +08:00
parent 79613224a0
commit 65320311de
5 changed files with 81 additions and 5 deletions

View File

@@ -639,6 +639,17 @@ public class AMapViewWrapper implements IMogoMapView,
mMapView.getMapAutoViewHelper().setMyLocationStyle(style);
}
/**
* 设置转向灯和刹车灯
* @param type :车尾灯类型 time: 闪烁时间 最小500ms 小于500ms 默认为500ms
* @param time
*/
@Override
public void setCarLightsType(int type, int time) {
Log.d("liyz", "AMapViewWrapper setCarLightsType type = " + type + "---time = " + time);
mMapView.getMapAutoViewHelper().setTailLightsType(type, time);
}
@Override
public MapCameraPosition getMapCameraPosition() {
if (checkAMapView()) {