[646] feat: 修改全局轨迹展示逻辑,提供对外调用接口;

This commit is contained in:
aibingbing
2024-06-25 17:38:33 +08:00
parent 1ffcee57f2
commit cb9df53129
8 changed files with 177 additions and 66 deletions

View File

@@ -0,0 +1,22 @@
package com.mogo.eagle.core.function.api.map.trajectory
import com.alibaba.android.arouter.facade.template.IProvider
interface IMoGoGlobalTrajectoryDrawListener : IProvider {
/**
* 是否已经在高精地图绘制了全局轨迹
*/
fun hasDrawnGlobalTrajectory(): Boolean
/**
* 在高精地图绘制全局规划
* @return boolean-是否绘制成功, string-绘制结果原因
*/
fun drawGlobalTrajectory(): Pair<Boolean, String>
/**
* 清除高精地图中的全局轨迹
*/
fun clearGlobalTrajectory()
}