增加接口
/**
     * 获取车道中心线信息
     */
    fun getCenterLineInfo(lon: Double, lat: Double, angle: Float): CenterLine?

Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
donghongyu
2022-03-28 18:47:55 +08:00
parent c82c3234ba
commit 4849ec413f
18 changed files with 277 additions and 656 deletions

View File

@@ -8,6 +8,7 @@ import android.view.View;
import androidx.annotation.Nullable;
import androidx.annotation.RawRes;
import com.mogo.eagle.core.data.map.CenterLine;
import com.mogo.eagle.core.data.map.MogoLatLng;
import org.json.JSONObject;
@@ -108,12 +109,6 @@ public interface IMogoMapUIController {
*/
void loseLockMode();
/**
* 设置锁车缩放级别
*
* @param var1 级别 3-20
*/
void setLockZoom(int var1);
/**
* 预览全程
@@ -200,13 +195,6 @@ public interface IMogoMapUIController {
*/
float calculateLineDistance(MogoLatLng p1, MogoLatLng p2) throws Exception;
/**
* 当前的视图模式
*
* @return
*/
EnumMapUI getCurrentUiMode();
/**
* 锁车状态
*
@@ -275,8 +263,17 @@ public interface IMogoMapUIController {
* @param angle
* @return
*/
int getSpeedLimmit(double lon, double lat, float angle);
int getLimitSpeed(double lon, double lat, float angle);
/**
* 获取车道中心线信息
*
* @param lon
* @param lat
* @param angle
* @return
*/
CenterLine getCenterLineInfo(double lon, double lat, float angle);
/**
* 自研地图是否匹配道路