[Change]
[1、更换初始化高精地图配置的位置,删除之前设置地图皮肤的位置,解决乘客地图样式被改变为夜间模式
2、同事修复多屏下白天模式的乘客屏异常退出]

Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
donghongyu
2022-12-12 12:54:08 +08:00
parent 5e1fc494ae
commit c969177a6c
3 changed files with 52 additions and 51 deletions

View File

@@ -1033,21 +1033,21 @@ public class AMapViewWrapper implements IMogoMapView,
@Override
public void stepInVrMode(boolean isDayMode) {
try {
int mapStyle;
if (isDayMode) {
mCurrentUI = EnumMapUI.MAP_STYLE_DAY_VR;
mapStyle = MapAutoApi.MAP_STYLE_DAY_VR;
} else {
mCurrentUI = EnumMapUI.MAP_STYLE_NIGHT_VR;
mapStyle = MapAutoApi.MAP_STYLE_NIGHT_VR;
}
if (mMapView != null && mMapView.getMapAutoViewHelper() != null) {
mMapView.getMapAutoViewHelper().setMapStyle(mapStyle);
}
} catch (Exception e) {
e.printStackTrace();
}
// try {
// int mapStyle;
// if (isDayMode) {
// mCurrentUI = EnumMapUI.MAP_STYLE_DAY_VR;
// mapStyle = MapAutoApi.MAP_STYLE_DAY_VR;
// } else {
// mCurrentUI = EnumMapUI.MAP_STYLE_NIGHT_VR;
// mapStyle = MapAutoApi.MAP_STYLE_NIGHT_VR;
// }
// if (mMapView != null && mMapView.getMapAutoViewHelper() != null) {
// mMapView.getMapAutoViewHelper().setMapStyle(mapStyle);
// }
// } catch (Exception e) {
// e.printStackTrace();
// }
}
@Override