增加 日志
This commit is contained in:
@@ -228,7 +228,7 @@ public class V2XModuleProvider implements
|
|||||||
|
|
||||||
// 注册V2X场景Socket
|
// 注册V2X场景Socket
|
||||||
V2XServiceManager.getV2XSocketManager().registerSocketMessage();
|
V2XServiceManager.getV2XSocketManager().registerSocketMessage();
|
||||||
// 开启自动刷新
|
// 开启自动刷新,暂时关闭间隔查询来降低流量消耗
|
||||||
V2XServiceManager.getV2XMarkerService().startAutoRefresh();
|
V2XServiceManager.getV2XMarkerService().startAutoRefresh();
|
||||||
// 锁车就是将地图视图移植中心点,因为行驶中的车和地图要相对的跟随
|
// 锁车就是将地图视图移植中心点,因为行驶中的车和地图要相对的跟随
|
||||||
V2XServiceManager.getMapUIController().recoverLockMode();
|
V2XServiceManager.getMapUIController().recoverLockMode();
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ public class V2XLocationListener implements IMogoLocationListener, CarStatusList
|
|||||||
V2XServiceManager.getV2XCalculateServer().addCarStatusListener(TAG, this);
|
V2XServiceManager.getV2XCalculateServer().addCarStatusListener(TAG, this);
|
||||||
V2XServiceManager.getV2XCalculateServer().addCarTrajectory(location);
|
V2XServiceManager.getV2XCalculateServer().addCarTrajectory(location);
|
||||||
|
|
||||||
// 下面是道路刷新逻辑
|
// 首次定位的刷新道路事件逻辑,下面是道路刷新逻辑
|
||||||
if (mLastCarLocation == null) {
|
if (mLastCarLocation == null) {
|
||||||
V2XServiceManager.getV2XMarkerService().refreshMarkerData(location);
|
V2XServiceManager.getV2XMarkerService().refreshMarkerData(location);
|
||||||
mLastCarLocation = location;
|
mLastCarLocation = location;
|
||||||
|
|||||||
Reference in New Issue
Block a user