[base_3.4.0-map-sdk]

This commit is contained in:
zhongchao
2023-08-17 16:41:21 +08:00
parent bfd591f5d5
commit 10b5933c03
19 changed files with 225 additions and 451 deletions

View File

@@ -0,0 +1,28 @@
package com.mogo.map
import com.mogo.map.center.CenterLine
interface IMogoData {
fun setDebugMode(debugMode: Boolean)
/**
* 获取行驶方向一定长度的中心线
*
* @param lon 经度
* @param lat 纬度
* @param angle 航向角
* @param distance 获取车道中心线的长度,> 0: 行驶方向前方距离, <0 行驶方向后方距离
* @return 中心线相关数据
*/
fun getCenterLineRangeInfo(lon: Double, lat: Double, angle: Float, distance: Float): CenterLine?
fun getCenterLineRangeInfo(
lon: Double,
lat: Double,
angle: Float,
distance: Float,
call: ((Int, com.mogo.map.center.CenterLine?) -> Unit)
)
}