This commit is contained in:
wangcongtao
2020-03-14 17:28:35 +08:00
parent 64048f48dd
commit 22d67860b1
12 changed files with 179 additions and 16 deletions

View File

@@ -0,0 +1,14 @@
package com.mogo.map.navi;
import com.mogo.map.MogoLatLng;
/**
* @author congtaowang
* @since 2020-03-14
* <p>
* 车辆位置变化
*/
public interface IMogoCarLocationChangedListener {
void onCarLocationChanged( MogoLatLng latLng );
}

View File

@@ -80,7 +80,6 @@ public interface IMogoNavi {
List< MogoCalculatePath > getCalculatedStrategies();
/**
* 获取路线坐标点
*
@@ -89,7 +88,6 @@ public interface IMogoNavi {
List< MogoLatLng > getCalculatedPathPos();
/**
* 获取列表Item点击回调
*
@@ -117,20 +115,37 @@ public interface IMogoNavi {
/**
* 导航配置
*
* @return
*/
MogoNaviConfig getNaviConfig();
/**
* 设置播报模式
*
* @param mode
* @return
*/
boolean setBroadcastMode(int mode);
boolean setBroadcastMode( int mode );
/**
* 获取导航沿途路线的点
*
* @return
*/
List<MogoLatLng> getNaviPathCoordinates();
List< MogoLatLng > getNaviPathCoordinates();
/**
* 获取车标经纬度
*
* @return
*/
MogoLatLng getCarLocation();
/**
* 注册车辆位置变化监听,非业务使用
*
* @param listener
*/
void registerCarLocationChangedListener( IMogoCarLocationChangedListener listener );
}