[6.2.6] note the far away car logic

This commit is contained in:
EmArrow
2024-01-03 21:34:04 +08:00
parent 84ce3c2ac8
commit 0418b2f98c
2 changed files with 27 additions and 27 deletions

View File

@@ -755,18 +755,18 @@ class AMapViewWrapper(mMapView: MapAutoView) : IMogoMapView, IMogoMapUIControlle
TrafficTypeEnum.TYPE_TRAFFIC_ID_TRUCK,
"添加感知模型到地图中……preVehicleStrLuceTaChe="
)
addPreVehicleModelWeiZhi(
TrafficTypeEnum.TYPE_TRAFFIC_ID_LUCE_TA_CHE,
"添加感知模型到地图中……preVehicleStrTruck="
)
addPreVehicleModelWeiZhi(
TrafficTypeEnum.TYPE_TRAFFIC_ID_LUCE_BUS,
"添加感知模型到地图中……preVehicleStrLuceBus="
)
addPreVehicleModelWeiZhi(
TrafficTypeEnum.TYPE_TRAFFIC_ID_LUCE_TRUCK,
"添加感知模型到地图中……preVehicleStrTruck="
)
// addPreVehicleModelWeiZhi(
// TrafficTypeEnum.TYPE_TRAFFIC_ID_LUCE_TA_CHE,
// "添加感知模型到地图中……preVehicleStrTruck="
// )
// addPreVehicleModelWeiZhi(
// TrafficTypeEnum.TYPE_TRAFFIC_ID_LUCE_BUS,
// "添加感知模型到地图中……preVehicleStrLuceBus="
// )
// addPreVehicleModelWeiZhi(
// TrafficTypeEnum.TYPE_TRAFFIC_ID_LUCE_TRUCK,
// "添加感知模型到地图中……preVehicleStrTruck="
// )
}
}

View File

@@ -137,21 +137,21 @@ public class ObjectUtils {
markerOptions.setId(aiData.getUuid().hashCode());
markerOptions.setColor("#00FF00FF");
int type = aiData.getType();
if(AppIdentityModeUtils.isTaxi(FunctionBuildConfig.appIdentityMode) &&
AppIdentityModeUtils.isPassenger(FunctionBuildConfig.appIdentityMode)){
if(type == 3){
type = 103;
}else if(type == 6){
type = 106;
}else if(type == 9){
type = 108;
}
if (type != 103 && type != 106 && type != 108) {
markerOptions.setColor("#90ABCAFF");
}else{
markerOptions.setColor("");
}
}
// if(AppIdentityModeUtils.isTaxi(FunctionBuildConfig.appIdentityMode) &&
// AppIdentityModeUtils.isPassenger(FunctionBuildConfig.appIdentityMode)){
// if(type == 3){
// type = 103;
// }else if(type == 6){
// type = 106;
// }else if(type == 9){
// type = 108;
// }
// if (type != 103 && type != 106 && type != 108) {
// markerOptions.setColor("#90ABCAFF");
// }else{
// markerOptions.setColor("");
// }
// }
markerOptions.setMarkerType(type);
markerOptions.setRotateAngle((float) aiData.getHeading());
markerOptions.setLat(aiData.getWgslat());