[base_3.4.0-map-sdk]
This commit is contained in:
@@ -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)
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user