Merge branch 'feature/v1.0.2' of gitlab.zhidaoauto.com:ecos/yycp-service/Launcher into feature/v1.0.2

This commit is contained in:
wangcongtao
2020-03-10 10:18:45 +08:00
2 changed files with 4 additions and 4 deletions

View File

@@ -76,8 +76,8 @@ public class MapMarkerInfoView extends MapMarkerBaseView {
ivIcon.setVisibility(View.INVISIBLE);
loadImageWithMarker(markerShowEntity);
ivCar.setImageResource(R.drawable.icon_map_marker_car_gray);
ivCar.setRotation(new Random().nextInt(360));
// ivCar.setRotation((float) markerShowEntity.getMarkerLocation().getAngle());
//ivCar.setRotation(new Random().nextInt(360));
ivCar.setRotation((float) markerShowEntity.getMarkerLocation().getAngle());
if (bindObj instanceof MarkerOnlineCar) {
if (((MarkerOnlineCar) bindObj).getUserInfo().getGenderValue() == 0) {

View File

@@ -67,8 +67,8 @@ public class MapMarkerView extends MapMarkerBaseView {
ivIcon.setVisibility(View.INVISIBLE);
loadImageWithMarker(markerShowEntity);
ivCar.setImageResource(R.drawable.icon_map_marker_car_gray);
// ivCar.setRotation((float) markerShowEntity.getMarkerLocation().getAngle());
ivCar.setRotation(new Random().nextInt(360));
ivCar.setRotation((float) markerShowEntity.getMarkerLocation().getAngle());
// ivCar.setRotation(new Random().nextInt(360));
if (bindObj instanceof MarkerOnlineCar) {
if (((MarkerOnlineCar) bindObj).getUserInfo().getGenderValue() == 0) {