[6.5.0] fix ui
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user