[Add function]增加外部设置自车模型的方法

CallerHDMapManager.changeCurrentIcon(R.raw.xiaobache)

Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
donghongyu
2021-11-11 17:53:27 +08:00
parent bf9b0e2712
commit cd14017753
45 changed files with 74 additions and 244 deletions

View File

@@ -1,5 +1,6 @@
package com.mogo.eagle.core.function.call.map
import androidx.annotation.RawRes
import com.alibaba.android.arouter.launcher.ARouter
import com.mogo.eagle.core.data.constants.MoGoFragmentPaths
import com.mogo.eagle.core.function.api.map.hd.IMoGoMapFragmentProvider
@@ -25,4 +26,13 @@ object CallerHDMapManager : CallerBase() {
fun changeMaoViewAngle(type: Int) {
mapProviderApi.changeMaoViewAngle(type)
}
/**
* 修改高精地图自车图标
* 传入资源ID
*/
fun changeCurrentIcon(@RawRes iconId: Int){
mapProviderApi.changeCurrentIcon(iconId)
}
}