[dev_arch_opt_3.0]
[Change] [1、重命名pnc相关] Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
@@ -40,7 +40,7 @@ import com.mogo.eagle.core.function.call.autopilot.CallerAutopilotCarConfigListe
|
|||||||
import com.mogo.eagle.core.function.call.autopilot.CallerAutopilotIdentifyListenerManager.invokeAutopilotIdentifyDataUpdate
|
import com.mogo.eagle.core.function.call.autopilot.CallerAutopilotIdentifyListenerManager.invokeAutopilotIdentifyDataUpdate
|
||||||
import com.mogo.eagle.core.function.call.autopilot.CallerAutopilotIdentifyListenerManager.invokeAutopilotIdentifyPlanningObj
|
import com.mogo.eagle.core.function.call.autopilot.CallerAutopilotIdentifyListenerManager.invokeAutopilotIdentifyPlanningObj
|
||||||
import com.mogo.eagle.core.function.call.autopilot.CallerAutopilotIdentifyListenerManager.invokeAutopilotWarnMessage
|
import com.mogo.eagle.core.function.call.autopilot.CallerAutopilotIdentifyListenerManager.invokeAutopilotWarnMessage
|
||||||
import com.mogo.eagle.core.function.call.autopilot.CallerAutopilotPlanningActionsListenerManager.invokePNCActions
|
import com.mogo.eagle.core.function.call.autopilot.CallerPlanningActionsListenerManager.invokePNCActions
|
||||||
import com.mogo.eagle.core.function.call.autopilot.CallerAutopilotRecordListenerManager.invokeAutopilotRecordConfig
|
import com.mogo.eagle.core.function.call.autopilot.CallerAutopilotRecordListenerManager.invokeAutopilotRecordConfig
|
||||||
import com.mogo.eagle.core.function.call.autopilot.CallerAutopilotRecordListenerManager.invokeAutopilotRecordResult
|
import com.mogo.eagle.core.function.call.autopilot.CallerAutopilotRecordListenerManager.invokeAutopilotRecordResult
|
||||||
import com.mogo.eagle.core.function.call.autopilot.CallerAutopilotStatisticsListenerManager.invokeAutopilotStatistics
|
import com.mogo.eagle.core.function.call.autopilot.CallerAutopilotStatisticsListenerManager.invokeAutopilotStatistics
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ import com.mogo.eagle.core.function.api.autopilot.IMoGoAutopilotStatusListener
|
|||||||
import com.mogo.eagle.core.function.api.autopilot.IMoGoAutopilotStatusListener.Companion.STATUS_AUTOPILOT_RUNNING
|
import com.mogo.eagle.core.function.api.autopilot.IMoGoAutopilotStatusListener.Companion.STATUS_AUTOPILOT_RUNNING
|
||||||
import com.mogo.eagle.core.function.api.trafficlight.IMoGoTrafficLightListener
|
import com.mogo.eagle.core.function.api.trafficlight.IMoGoTrafficLightListener
|
||||||
import com.mogo.eagle.core.function.call.autopilot.CallerAutoPilotStatusListenerManager
|
import com.mogo.eagle.core.function.call.autopilot.CallerAutoPilotStatusListenerManager
|
||||||
import com.mogo.eagle.core.function.call.autopilot.CallerAutopilotPlanningActionsListenerManager
|
import com.mogo.eagle.core.function.call.autopilot.CallerPlanningActionsListenerManager
|
||||||
import com.mogo.eagle.core.function.call.trafficlight.CallerTrafficLightListenerManager
|
import com.mogo.eagle.core.function.call.trafficlight.CallerTrafficLightListenerManager
|
||||||
import com.mogo.eagle.core.function.hmi.R
|
import com.mogo.eagle.core.function.hmi.R
|
||||||
import com.mogo.eagle.core.utilcode.util.UiThreadHandler
|
import com.mogo.eagle.core.utilcode.util.UiThreadHandler
|
||||||
@@ -48,14 +48,14 @@ class PncActionsView @JvmOverloads constructor(
|
|||||||
override fun onAttachedToWindow() {
|
override fun onAttachedToWindow() {
|
||||||
super.onAttachedToWindow()
|
super.onAttachedToWindow()
|
||||||
CallerAutoPilotStatusListenerManager.addListener(TAG, this)
|
CallerAutoPilotStatusListenerManager.addListener(TAG, this)
|
||||||
CallerAutopilotPlanningActionsListenerManager.addListener(TAG, this)
|
CallerPlanningActionsListenerManager.addListener(TAG, this)
|
||||||
CallerTrafficLightListenerManager.addListener(TAG, this)
|
CallerTrafficLightListenerManager.addListener(TAG, this)
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onDetachedFromWindow() {
|
override fun onDetachedFromWindow() {
|
||||||
super.onDetachedFromWindow()
|
super.onDetachedFromWindow()
|
||||||
CallerAutoPilotStatusListenerManager.removeListener(TAG)
|
CallerAutoPilotStatusListenerManager.removeListener(TAG)
|
||||||
CallerAutopilotPlanningActionsListenerManager.removeListener(TAG)
|
CallerPlanningActionsListenerManager.removeListener(TAG)
|
||||||
CallerTrafficLightListenerManager.removeListener(TAG)
|
CallerTrafficLightListenerManager.removeListener(TAG)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ import com.mogo.eagle.core.function.api.autopilot.IMoGoChassisGearStateListener;
|
|||||||
import com.mogo.eagle.core.function.api.autopilot.IMoGoChassisSteeringStateListener;
|
import com.mogo.eagle.core.function.api.autopilot.IMoGoChassisSteeringStateListener;
|
||||||
import com.mogo.eagle.core.function.api.autopilot.IMoGoChassisThrottleStateListener;
|
import com.mogo.eagle.core.function.api.autopilot.IMoGoChassisThrottleStateListener;
|
||||||
import com.mogo.eagle.core.function.call.autopilot.CallerAutoPilotStatusListenerManager;
|
import com.mogo.eagle.core.function.call.autopilot.CallerAutoPilotStatusListenerManager;
|
||||||
import com.mogo.eagle.core.function.call.autopilot.CallerAutopilotPlanningActionsListenerManager;
|
import com.mogo.eagle.core.function.call.autopilot.CallerPlanningActionsListenerManager;
|
||||||
import com.mogo.eagle.core.function.call.autopilot.CallerChassisBrakeStateListenerManager;
|
import com.mogo.eagle.core.function.call.autopilot.CallerChassisBrakeStateListenerManager;
|
||||||
import com.mogo.eagle.core.function.call.autopilot.CallerChassisGearStateListenerManager;
|
import com.mogo.eagle.core.function.call.autopilot.CallerChassisGearStateListenerManager;
|
||||||
import com.mogo.eagle.core.function.call.autopilot.CallerChassisSteeringStateListenerManager;
|
import com.mogo.eagle.core.function.call.autopilot.CallerChassisSteeringStateListenerManager;
|
||||||
@@ -114,7 +114,7 @@ public class TrafficDataView extends ConstraintLayout implements
|
|||||||
CallerChassisGearStateListenerManager.INSTANCE.addListener(TAG, this);
|
CallerChassisGearStateListenerManager.INSTANCE.addListener(TAG, this);
|
||||||
CallerChassisBrakeStateListenerManager.INSTANCE.addListener(TAG, this);
|
CallerChassisBrakeStateListenerManager.INSTANCE.addListener(TAG, this);
|
||||||
CallerChassisThrottleStateListenerManager.INSTANCE.addListener(TAG, this);
|
CallerChassisThrottleStateListenerManager.INSTANCE.addListener(TAG, this);
|
||||||
CallerAutopilotPlanningActionsListenerManager.INSTANCE.addListener(TAG, planningActionMsg -> acceleration = planningActionMsg.getDestinationAcc());
|
CallerPlanningActionsListenerManager.INSTANCE.addListener(TAG, planningActionMsg -> acceleration = planningActionMsg.getDestinationAcc());
|
||||||
}
|
}
|
||||||
|
|
||||||
private void initView(@NonNull Context context) {
|
private void initView(@NonNull Context context) {
|
||||||
@@ -133,7 +133,7 @@ public class TrafficDataView extends ConstraintLayout implements
|
|||||||
CallerChassisGearStateListenerManager.INSTANCE.removeListener(TAG);
|
CallerChassisGearStateListenerManager.INSTANCE.removeListener(TAG);
|
||||||
CallerChassisBrakeStateListenerManager.INSTANCE.removeListener(TAG);
|
CallerChassisBrakeStateListenerManager.INSTANCE.removeListener(TAG);
|
||||||
CallerChassisThrottleStateListenerManager.INSTANCE.removeListener(TAG);
|
CallerChassisThrottleStateListenerManager.INSTANCE.removeListener(TAG);
|
||||||
CallerAutopilotPlanningActionsListenerManager.INSTANCE.removeListener(TAG);
|
CallerPlanningActionsListenerManager.INSTANCE.removeListener(TAG);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -7,20 +7,15 @@ import com.mogo.eagle.core.data.constants.MogoServicePaths;
|
|||||||
import com.mogo.eagle.core.function.api.map.IMogoMapService;
|
import com.mogo.eagle.core.function.api.map.IMogoMapService;
|
||||||
import com.mogo.eagle.core.function.api.map.marker.IMogoMarkerService;
|
import com.mogo.eagle.core.function.api.map.marker.IMogoMarkerService;
|
||||||
import com.mogo.eagle.core.function.call.map.CallerVisualAngleManager;
|
import com.mogo.eagle.core.function.call.map.CallerVisualAngleManager;
|
||||||
import com.mogo.map.MogoGeoSearch;
|
|
||||||
import com.mogo.map.MogoLocationClient;
|
import com.mogo.map.MogoLocationClient;
|
||||||
import com.mogo.map.MogoMapUIController;
|
import com.mogo.map.MogoMapUIController;
|
||||||
import com.mogo.map.MogoMarkerManager;
|
import com.mogo.map.MogoMarkerManager;
|
||||||
import com.mogo.map.MogoOverlayManager;
|
import com.mogo.map.MogoOverlayManager;
|
||||||
import com.mogo.map.MogoPoiSearch;
|
|
||||||
import com.mogo.map.location.GDLocationClient;
|
import com.mogo.map.location.GDLocationClient;
|
||||||
import com.mogo.map.location.IMogoGDLocationClient;
|
import com.mogo.map.location.IMogoGDLocationClient;
|
||||||
import com.mogo.map.location.IMogoLocationClient;
|
import com.mogo.map.location.IMogoLocationClient;
|
||||||
import com.mogo.map.marker.IMogoMarkerManager;
|
import com.mogo.map.marker.IMogoMarkerManager;
|
||||||
import com.mogo.map.overlay.IMogoOverlayManager;
|
import com.mogo.map.overlay.IMogoOverlayManager;
|
||||||
import com.mogo.map.search.geo.IMogoGeoSearch;
|
|
||||||
import com.mogo.map.search.poisearch.IMogoPoiSearch;
|
|
||||||
import com.mogo.map.search.poisearch.query.MogoPoiSearchQuery;
|
|
||||||
import com.mogo.map.uicontroller.IMogoMapUIController;
|
import com.mogo.map.uicontroller.IMogoMapUIController;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -37,16 +32,6 @@ public class MogoMapService implements IMogoMapService {
|
|||||||
return MogoLocationClient.getInstance(context);
|
return MogoLocationClient.getInstance(context);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public IMogoGeoSearch getGeoSearch(Context context) {
|
|
||||||
return new MogoGeoSearch(context);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public IMogoPoiSearch getPoiSearch(Context context, MogoPoiSearchQuery query) {
|
|
||||||
return new MogoPoiSearch(context, query);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public IMogoMarkerManager getMarkerManager(Context context) {
|
public IMogoMarkerManager getMarkerManager(Context context) {
|
||||||
return MogoMarkerManager.getInstance(context);
|
return MogoMarkerManager.getInstance(context);
|
||||||
|
|||||||
@@ -1,7 +1,5 @@
|
|||||||
package com.mogo.eagle.core.function.impl;
|
package com.mogo.eagle.core.function.impl;
|
||||||
|
|
||||||
import android.util.Log;
|
|
||||||
|
|
||||||
import androidx.annotation.Nullable;
|
import androidx.annotation.Nullable;
|
||||||
|
|
||||||
import com.mogo.eagle.core.data.map.MogoLatLng;
|
import com.mogo.eagle.core.data.map.MogoLatLng;
|
||||||
@@ -11,10 +9,8 @@ import com.mogo.eagle.core.function.api.map.marker.IMogoMarkerService;
|
|||||||
import com.mogo.eagle.core.function.impl.marker.drawer.MarkerDrawer;
|
import com.mogo.eagle.core.function.impl.marker.drawer.MarkerDrawer;
|
||||||
import com.mogo.eagle.core.function.impl.marker.drawer.TrafficMarkerDrawer;
|
import com.mogo.eagle.core.function.impl.marker.drawer.TrafficMarkerDrawer;
|
||||||
import com.mogo.eagle.core.function.impl.marker.drawer.V2XWarnDataDrawer;
|
import com.mogo.eagle.core.function.impl.marker.drawer.V2XWarnDataDrawer;
|
||||||
import com.mogo.eagle.core.utilcode.mogo.logger.CallerLogger;
|
|
||||||
import com.mogo.map.marker.IMogoMarker;
|
import com.mogo.map.marker.IMogoMarker;
|
||||||
|
|
||||||
|
|
||||||
public class MogoMarkerServiceImpl implements IMogoMarkerService {
|
public class MogoMarkerServiceImpl implements IMogoMarkerService {
|
||||||
|
|
||||||
private static volatile MogoMarkerServiceImpl sInstance;
|
private static volatile MogoMarkerServiceImpl sInstance;
|
||||||
|
|||||||
@@ -55,10 +55,14 @@ public class V2XWarnDataDrawer extends BaseDrawer {
|
|||||||
IMogoMarker marker = drawMarker(markerShowEntity, modeResType(type));
|
IMogoMarker marker = drawMarker(markerShowEntity, modeResType(type));
|
||||||
// marker.addDynamicAnchorPosition(new MogoLatLng(collisionlat, collisionLon), (float) heading, showTime * 1000);
|
// marker.addDynamicAnchorPosition(new MogoLatLng(collisionlat, collisionLon), (float) heading, showTime * 1000);
|
||||||
UiThreadHandler.postDelayed(marker::remove, showTime * 1000);
|
UiThreadHandler.postDelayed(marker::remove, showTime * 1000);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//根据识别物类型 (行人1/自行车2/摩托车4/骑行车辆11)获取3D模型(对应查看getModelRes)
|
/**
|
||||||
|
* 根据识别物类型 (行人1/自行车2/摩托车4/骑行车辆11)获取3D模型(对应查看getModelRes)
|
||||||
|
*
|
||||||
|
* @param dataType 数据类型
|
||||||
|
* @return 做完映射后的数据类型
|
||||||
|
*/
|
||||||
private int modeResType(int dataType) {
|
private int modeResType(int dataType) {
|
||||||
switch (dataType) {
|
switch (dataType) {
|
||||||
case 1:
|
case 1:
|
||||||
@@ -72,6 +76,13 @@ public class V2XWarnDataDrawer extends BaseDrawer {
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 绘制3D元素
|
||||||
|
*
|
||||||
|
* @param markerShowEntity 要展示的3d数据类型
|
||||||
|
* @param modeResType
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
public IMogoMarker drawMarker(MarkerShowEntity markerShowEntity, int modeResType) {
|
public IMogoMarker drawMarker(MarkerShowEntity markerShowEntity, int modeResType) {
|
||||||
MogoMarkerOptions options = new MogoMarkerOptions()
|
MogoMarkerOptions options = new MogoMarkerOptions()
|
||||||
.data(markerShowEntity)
|
.data(markerShowEntity)
|
||||||
@@ -90,6 +101,13 @@ public class V2XWarnDataDrawer extends BaseDrawer {
|
|||||||
return marker;
|
return marker;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 绘制箭头
|
||||||
|
* @param location
|
||||||
|
* @param markerType
|
||||||
|
* @param type
|
||||||
|
* @param rotate
|
||||||
|
*/
|
||||||
public void drawerArrowsMarkerWithLocation(MogoLatLng location, String markerType, int type, int rotate) {
|
public void drawerArrowsMarkerWithLocation(MogoLatLng location, String markerType, int type, int rotate) {
|
||||||
MogoMarkerOptions options = new MogoMarkerOptions()
|
MogoMarkerOptions options = new MogoMarkerOptions()
|
||||||
.latitude(location.getLat())
|
.latitude(location.getLat())
|
||||||
|
|||||||
@@ -70,7 +70,9 @@ public class MapFragment extends MvpFragment<MapView, MapPresenter>
|
|||||||
@Override
|
@Override
|
||||||
public void stepInVrMode(boolean isDayMode) {
|
public void stepInVrMode(boolean isDayMode) {
|
||||||
try {
|
try {
|
||||||
if (mMogoMapView != null && mMogoMapView.getMap() != null && mMogoMapView.getMap().getUIController() != null) {
|
if (mMogoMapView != null
|
||||||
|
&& mMogoMapView.getMap() != null
|
||||||
|
&& mMogoMapView.getMap().getUIController() != null) {
|
||||||
mMogoMapView.getMap().getUIController().stepInVrMode(isDayMode);
|
mMogoMapView.getMap().getUIController().stepInVrMode(isDayMode);
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|||||||
@@ -1,26 +0,0 @@
|
|||||||
package com.mogo.eagle.core.function.api.map;
|
|
||||||
|
|
||||||
import com.alibaba.android.arouter.facade.template.IProvider;
|
|
||||||
import com.mogo.map.IDestroyable;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author congtaowang
|
|
||||||
* @since 2020/10/23
|
|
||||||
* <p>
|
|
||||||
* 地图图层切换:高德地图 <-> 自研地图,过渡期使用
|
|
||||||
*/
|
|
||||||
public interface IMogoMapFrameController extends IProvider, IDestroyable {
|
|
||||||
|
|
||||||
void initDelegate(IMogoMapFrameController controller);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 切换到高德2D
|
|
||||||
*/
|
|
||||||
void changeTo2dMode();
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 切换到自研vr
|
|
||||||
* @param isNightMode true-夜间模式,false-白天模式
|
|
||||||
*/
|
|
||||||
void stepInVrMode(boolean isNightMode);
|
|
||||||
}
|
|
||||||
@@ -29,23 +29,6 @@ public interface IMogoMapService extends IProvider {
|
|||||||
*/
|
*/
|
||||||
IMogoLocationClient getSingletonLocationClient(Context context);
|
IMogoLocationClient getSingletonLocationClient(Context context);
|
||||||
|
|
||||||
/**
|
|
||||||
* 地理编码或逆地理编码服务
|
|
||||||
*
|
|
||||||
* @param context
|
|
||||||
* @return
|
|
||||||
*/
|
|
||||||
IMogoGeoSearch getGeoSearch(Context context);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* poi搜索服务
|
|
||||||
*
|
|
||||||
* @param context
|
|
||||||
* @param query
|
|
||||||
* @return
|
|
||||||
*/
|
|
||||||
IMogoPoiSearch getPoiSearch(Context context, MogoPoiSearchQuery query);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* marker 操作
|
* marker 操作
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -35,6 +35,13 @@ public interface IMogoMarkerService {
|
|||||||
*/
|
*/
|
||||||
void renderStopLineMarker(double lon, double lat);
|
void renderStopLineMarker(double lon, double lat);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 绘制箭头
|
||||||
|
* @param location
|
||||||
|
* @param markerType
|
||||||
|
* @param type
|
||||||
|
* @param rotate
|
||||||
|
*/
|
||||||
void drawerArrowsMarkerWithLocation(MogoLatLng location, String markerType, int type, int rotate);
|
void drawerArrowsMarkerWithLocation(MogoLatLng location, String markerType, int type, int rotate);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -30,7 +30,13 @@ public interface IMogoSmallMapProvider {
|
|||||||
*/
|
*/
|
||||||
void clearPolyline();
|
void clearPolyline();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询全揽模式下V2X事件
|
||||||
|
*/
|
||||||
default void startQueryV2XEvents() {}
|
default void startQueryV2XEvents() {}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 清除V2X事件
|
||||||
|
*/
|
||||||
default void clearV2XMarkers() {}
|
default void clearV2XMarkers() {}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import mogo.telematics.pad.MessagePad
|
|||||||
/**
|
/**
|
||||||
* PNC 决策行为相关监听
|
* PNC 决策行为相关监听
|
||||||
*/
|
*/
|
||||||
object CallerAutopilotPlanningActionsListenerManager : CallerBase<IMoGoAutopilotPlanningActionsListener>() {
|
object CallerPlanningActionsListenerManager : CallerBase<IMoGoAutopilotPlanningActionsListener>() {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* pnc actions 决策回调
|
* pnc actions 决策回调
|
||||||
@@ -37,7 +37,10 @@ public class AutopilotStatistics {
|
|||||||
*/
|
*/
|
||||||
public final MogoReportMsg.MogoReportMessage failedMessage;
|
public final MogoReportMsg.MogoReportMessage failedMessage;
|
||||||
|
|
||||||
public AutopilotStatistics(@Define.AutopilotStartStatus int status, long usedTime, MessagePad.SetAutopilotModeReq req, MogoReportMsg.MogoReportMessage failedMessage) {
|
public AutopilotStatistics(@Define.AutopilotStartStatus int status,
|
||||||
|
long usedTime,
|
||||||
|
MessagePad.SetAutopilotModeReq req,
|
||||||
|
MogoReportMsg.MogoReportMessage failedMessage) {
|
||||||
this.status = status;
|
this.status = status;
|
||||||
this.usedTime = usedTime;
|
this.usedTime = usedTime;
|
||||||
this.req = req;
|
this.req = req;
|
||||||
|
|||||||
@@ -17,8 +17,6 @@ import android.graphics.Point;
|
|||||||
import android.graphics.Rect;
|
import android.graphics.Rect;
|
||||||
import android.location.Location;
|
import android.location.Location;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.os.Handler;
|
|
||||||
import android.os.Looper;
|
|
||||||
import android.os.Trace;
|
import android.os.Trace;
|
||||||
import android.text.TextUtils;
|
import android.text.TextUtils;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
@@ -104,7 +102,8 @@ public class AMapViewWrapper implements IMogoMapView,
|
|||||||
OnMarkClickListener,
|
OnMarkClickListener,
|
||||||
OnMapStyleListener,
|
OnMapStyleListener,
|
||||||
OnMapViewVisualAngleChangeListener,
|
OnMapViewVisualAngleChangeListener,
|
||||||
OnRoadInfoListener, ILog {
|
OnRoadInfoListener,
|
||||||
|
ILog {
|
||||||
|
|
||||||
private static final String TAG = "AMapViewWrapper";
|
private static final String TAG = "AMapViewWrapper";
|
||||||
private final MapAutoView mMapView;
|
private final MapAutoView mMapView;
|
||||||
@@ -123,7 +122,9 @@ public class AMapViewWrapper implements IMogoMapView,
|
|||||||
private boolean mIsFirstLocated = true;
|
private boolean mIsFirstLocated = true;
|
||||||
private boolean mIsDelayed = false;
|
private boolean mIsDelayed = false;
|
||||||
|
|
||||||
private final LocationListener mGpsLocationListener = location -> CallerMapLocationListenerManager.INSTANCE.invokeMapLocationChangeListener(ObjectUtils.fromLocation(location), 0, true);
|
// GPS 位置回调
|
||||||
|
private final LocationListener mGpsLocationListener =
|
||||||
|
location -> CallerMapLocationListenerManager.INSTANCE.invokeMapLocationChangeListener(ObjectUtils.fromLocation(location), 0, true);
|
||||||
|
|
||||||
public AMapViewWrapper(MapAutoView mMapView) {
|
public AMapViewWrapper(MapAutoView mMapView) {
|
||||||
CallerLogger.INSTANCE.i(M_MAP + TAG, "autoop--AMapViewWrapper: init");
|
CallerLogger.INSTANCE.i(M_MAP + TAG, "autoop--AMapViewWrapper: init");
|
||||||
@@ -429,7 +430,6 @@ public class AMapViewWrapper implements IMogoMapView,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
|
||||||
* @return true-是,false=不是
|
* @return true-是,false=不是
|
||||||
*/
|
*/
|
||||||
private boolean isVrMold() {
|
private boolean isVrMold() {
|
||||||
|
|||||||
Reference in New Issue
Block a user