Files
MoGoEagleEye/libraries/mogo-map-api/src/main/java/com/mogo/map/IMogoMap.kt
2023-08-29 17:06:14 +08:00

66 lines
1.6 KiB
Kotlin
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package com.mogo.map
import com.mogo.map.overlay.line.Polyline
import com.mogo.map.overlay.point.Point
import com.mogo.map.uicontroller.IMogoMapUIController
import com.mogo.map.overlay.proxy.point.IMapPointOverlay
import com.mogo.map.overlay.proxy.line.IMapPolylineOverlay
import mogo.telematics.pad.MessagePad.TrackedObject
import mogo.yycp.api.proto.SocketDownData
import java.util.HashMap
/**
* @author congtaowang
* @since 2019-12-18
*
*
* 地图控制接口
*/
interface IMogoMap {
/**
* 获取地图ui控制器可以控制内置ui缩放按钮、指北针等是否显示及部分手势滑动、双指缩放等是否可用。
*
* @return
*/
val uiSettings: IMogoUiSettings?
/**
* 操作地图视图
*
* @return
*/
val uiController: IMogoMapUIController?
fun addPoint(options: Point.Options?): IMapPointOverlay?
fun addLine(options: Polyline.Options?): IMapPolylineOverlay?
/**
* 批量更新锚点位置
*
* @param optionsArrayList 锚点集合
*/
fun updateBatchMarkerPosition(optionsArrayList: HashMap<String?, TrackedObject?>?)
/**
* 批量更新锚点位置
*
* @param optionsArrayList 锚点集合
*/
fun updateBatchAiMarkerPosition(optionsArrayList: HashMap<String?, SocketDownData.CloudRoadDataProto?>?)
/**
* 添加感知使用到的3d模型
*
* @param type
* @param modelRes
*/
fun addPreVehicleModel(type: Int, modelRes: Int): String?
/**
* 要移除的感知数据uuid
*
* @param uuidString
*/
fun removeMarker(uuidString: String?)
}