opt
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package com.mogo.module.common.map;
|
||||
|
||||
import android.util.Log;
|
||||
|
||||
import com.mogo.commons.debug.DebugConfig;
|
||||
import com.mogo.map.uicontroller.IMogoMapUIController;
|
||||
import com.mogo.module.common.MogoApisHandler;
|
||||
@@ -243,9 +245,9 @@ public class MapCenterPointStrategy {
|
||||
// V2X,场景视图右边
|
||||
Map< String, MapCenterPoint > categoryV2XEvent = new HashMap<>();
|
||||
MapCenterPoint point1 = new MapCenterPoint( 0.5, 0.7D );
|
||||
categoryV2XEvent.put( "d80x",point1 );
|
||||
categoryV2XEvent.put( "em4",point1 );
|
||||
categoryV2XEvent.put( "e8xx",point1 );
|
||||
categoryV2XEvent.put( "d80x", point1 );
|
||||
categoryV2XEvent.put( "em4", point1 );
|
||||
categoryV2XEvent.put( "e8xx", point1 );
|
||||
MapCenterPoint point2 = new MapCenterPoint( 0.5, 0.65D );
|
||||
categoryV2XEvent.put( "f80x", point2 );
|
||||
categoryV2XEvent.put( "f8xx", point2 );
|
||||
@@ -254,8 +256,8 @@ public class MapCenterPointStrategy {
|
||||
}
|
||||
}
|
||||
|
||||
public static void resetByChangeMode(){
|
||||
setMapCenterPointByScene( MogoApisHandler.getInstance().getApis().getMapServiceApi().getMapUIController(), Scene.AIMLESS);
|
||||
public static void resetByChangeMode() {
|
||||
setMapCenterPointByScene( MogoApisHandler.getInstance().getApis().getMapServiceApi().getMapUIController(), Scene.AIMLESS );
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -268,7 +270,8 @@ public class MapCenterPointStrategy {
|
||||
if ( controller == null ) {
|
||||
return;
|
||||
}
|
||||
Map<Integer, Map<String, MapCenterPoint>> strategies = sCommonStrategies;
|
||||
Logger.e( TAG, "scene"+scene );
|
||||
Map< Integer, Map< String, MapCenterPoint > > strategies = sCommonStrategies;
|
||||
if ( MogoApisHandler.getInstance().getApis().getStatusManagerApi().isVrMode() ) {
|
||||
strategies = sVrStrategies;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user