[2.13.0]
[Change] [1、更换初始化高精地图配置的位置,删除之前设置地图皮肤的位置,解决乘客地图样式被改变为夜间模式 2、同事修复多屏下白天模式的乘客屏异常退出] Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user