[6.2.6] note the far away car logic
This commit is contained in:
@@ -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="
|
||||
// )
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user