[MAP] 高精地图Marker绘制逻辑重构
This commit is contained in:
@@ -3,10 +3,8 @@ package com.mogo.eagle.core.function.api.map;
|
||||
import android.content.Context;
|
||||
|
||||
import com.alibaba.android.arouter.facade.template.IProvider;
|
||||
import com.mogo.eagle.core.function.api.map.marker.IMogoMarkerService;
|
||||
import com.mogo.map.location.IMogoGDLocationClient;
|
||||
import com.mogo.map.marker.IMogoMarkerManager;
|
||||
import com.mogo.map.overlay.IMogoOverlayManager;
|
||||
import com.mogo.map.overlay.IMoGoOverlayManager;
|
||||
import com.mogo.map.uicontroller.IMogoMapUIController;
|
||||
|
||||
/**
|
||||
@@ -16,19 +14,8 @@ import com.mogo.map.uicontroller.IMogoMapUIController;
|
||||
* 地图对外接口
|
||||
*/
|
||||
public interface IMogoMapService extends IProvider {
|
||||
/**
|
||||
* marker 操作
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
IMogoMarkerManager getMarkerManager(Context context);
|
||||
|
||||
/**
|
||||
* 带有业务标注的服务marker
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
IMogoMarkerService getMarkerService();
|
||||
|
||||
|
||||
/**
|
||||
* 地图UI控制
|
||||
@@ -37,12 +24,12 @@ public interface IMogoMapService extends IProvider {
|
||||
*/
|
||||
IMogoMapUIController getMapUIController();
|
||||
|
||||
|
||||
/**
|
||||
* 覆盖物操作
|
||||
*
|
||||
* @return
|
||||
*/
|
||||
IMogoOverlayManager getOverlayManager();
|
||||
IMoGoOverlayManager getOverlayManager();
|
||||
|
||||
/**
|
||||
* 获取高德定位服务
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
package com.mogo.eagle.core.function.api.map.marker;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
import com.mogo.eagle.core.data.map.MogoLatLng;
|
||||
import com.mogo.eagle.core.data.traffic.TrafficData;
|
||||
import com.mogo.map.marker.IMogoMarker;
|
||||
|
||||
|
||||
public interface IMogoMarkerService {
|
||||
|
||||
/**
|
||||
* @param object
|
||||
* @return
|
||||
*/
|
||||
@Nullable
|
||||
IMogoMarker drawMarker(Object object);
|
||||
|
||||
/**
|
||||
* 识别物体移动
|
||||
* @param lon
|
||||
* @param lat
|
||||
* @param type
|
||||
* @param collisionlat
|
||||
* @param collisionLon
|
||||
* @param angle
|
||||
* @param showTime
|
||||
*/
|
||||
void renderWarningMoveMarker(double lon, double lat, int type, double collisionlat, double collisionLon, double angle, long showTime);
|
||||
|
||||
/**
|
||||
* 绘制停止线marker
|
||||
* @param lon
|
||||
* @param 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);
|
||||
|
||||
/**
|
||||
* 更新OBU/V2X传来的 单个物体感知数据
|
||||
* @param trafficData
|
||||
*/
|
||||
void updateITrafficInfo(TrafficData trafficData);
|
||||
|
||||
/**
|
||||
* 更新数据
|
||||
*/
|
||||
void updateITrafficLocationInfo(TrafficData trafficData);
|
||||
|
||||
/**
|
||||
* 更新识别数据颜色
|
||||
*/
|
||||
void updateITrafficThreatLevelInfo(TrafficData trafficData);
|
||||
|
||||
/**
|
||||
* 移除OBU/V2X传来的 单个物体感知数据
|
||||
* @param uuid
|
||||
*/
|
||||
void removeCvxRvInfoIndInfo(String uuid);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user