[6.5.0] fix ui

This commit is contained in:
EmArrow
2024-07-22 13:49:03 +08:00
parent aecd524aca
commit f8e9b81f0e
15 changed files with 54 additions and 44 deletions

View File

@@ -141,10 +141,10 @@ public class ObjectUtils {
try {
markerOptions = new MarkerSimpleData();
markerOptions.setId(aiData.getUuid().hashCode());
markerOptions.setColor("#00FF00FF");
int type = aiData.getType();
if(AppIdentityModeUtils.isTaxi(FunctionBuildConfig.appIdentityMode) &&
AppIdentityModeUtils.isPassenger(FunctionBuildConfig.appIdentityMode)){
markerOptions.setColor("#90ABCAFF");
if(type == 3){
type = 103;
}else if(type == 6){
@@ -152,11 +152,16 @@ public class ObjectUtils {
}else if(type == 8){
type = 108;
}
if (type != 103 && type != 106 && type != 108) {
markerOptions.setColor("#90ABCAFF");
}else{
if(type == 103 || type == 106 || type == 108){
markerOptions.setColor("");
}
// if (type != 103 && type != 106 && type != 108) {
// markerOptions.setColor("#90ABCAFF");
// }else{
// markerOptions.setColor("");
// }
}else{
markerOptions.setColor("#00FF00FF");
}
markerOptions.setMarkerType(type);
markerOptions.setRotateAngle((float) aiData.getHeading());