修复首次进入VR模式效果会先从2D过度的问题

This commit is contained in:
董宏宇
2021-06-18 20:03:25 +08:00
parent 6fa24af593
commit 5a339383e9
4 changed files with 17 additions and 26 deletions

View File

@@ -353,6 +353,9 @@ public class AMapViewWrapper implements IMogoMapView,
setUIMode(ui);
break;
case Type_VR:
if (DebugConfig.getCarMachineType() == DebugConfig.CAR_MACHINE_TYPE_LENOVO) {
mMapView.getMapAutoViewHelper().setScaleVRMode(true);
}
mMapView.getMapAutoViewHelper().setMapStyle(MapAutoApi.MAP_STYLE_VR);
return;
case Type_Light: