[6.3.0] close the warning car change color
This commit is contained in:
@@ -119,15 +119,15 @@ public class ObjectUtils {
|
||||
markerOptions.setTime(Double.valueOf(trafficData.getSatelliteTime() * 1000).longValue());
|
||||
if(!trafficData.getColor().isEmpty()){
|
||||
if(trafficData.getColor().contains("-drawColor")){
|
||||
markerOptions.setColorType(3);
|
||||
// markerOptions.setColorType(3);
|
||||
markerOptions.setColor(trafficData.getColor().split("-")[0]);
|
||||
}
|
||||
if(trafficData.getColor().contains("-resetColor")){
|
||||
markerOptions.setColorType(4);
|
||||
// markerOptions.setColorType(4);
|
||||
markerOptions.setColor(trafficData.getColor().split("-")[0]);
|
||||
}
|
||||
}else{
|
||||
markerOptions.setColorType(0);
|
||||
// markerOptions.setColorType(0);
|
||||
markerOptions.setColor("#00000000");
|
||||
}
|
||||
} catch (Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user