66 lines
1.6 KiB
Kotlin
66 lines
1.6 KiB
Kotlin
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?)
|
||
} |