[2.13.2]change the long sight to roma mode and fit the visual color in cloud data

This commit is contained in:
zhongchao
2023-01-13 10:24:59 +08:00
parent 3e3cbb4459
commit 683e1ae73b
12 changed files with 87 additions and 37 deletions

View File

@@ -8,6 +8,7 @@ import static com.mogo.eagle.core.utilcode.mogo.logger.scene.SceneConstant.M_MAP
import static com.mogo.map.uicontroller.VisualAngleMode.MAP_STYLE_VR_ANGLE_300;
import static com.mogo.map.uicontroller.VisualAngleMode.MAP_STYLE_VR_ANGLE_CROSS;
import static com.mogo.map.uicontroller.VisualAngleMode.MAP_STYLE_VR_ANGLE_TOP;
import static com.mogo.map.uicontroller.VisualAngleMode.MAP_STYLE_VR_ROMA;
import static com.mogo.map.uicontroller.VisualAngleMode.MODE_CLOSE_SIGHT;
import static com.mogo.map.uicontroller.VisualAngleMode.MODE_LONG_SIGHT;
import static com.mogo.map.uicontroller.VisualAngleMode.MODE_MEDIUM_SIGHT;
@@ -380,6 +381,11 @@ public class AMapViewWrapper implements IMogoMapView,
}
}
@Override
public void setRomaMode() {
mMapView.getMapAutoViewHelper().setRoamStyle(MapAutoApi.ROAM_DIS_3KM,MapAutoApi.ROAM_SPEED_40);
}
@Override
public VisualAngleMode getCurrentMapVisualAngle() {
return mVisualAngleMode;
@@ -887,6 +893,8 @@ public class AMapViewWrapper implements IMogoMapView,
return MAP_STYLE_VR_ANGLE_TOP;
case 5:
return MAP_STYLE_VR_ANGLE_CROSS;
case 7:
return MAP_STYLE_VR_ROMA;
default:
throw new IllegalStateException("mode is unCorrect");
}