[Feat]新增高精地图缓存功能
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
package com.mogo.map.hdcache
|
||||
|
||||
interface IHdCacheListener {
|
||||
fun onMapHdCacheProgress(cityId: Int, progress: Double)
|
||||
}
|
||||
@@ -10,6 +10,7 @@ import androidx.annotation.RawRes;
|
||||
|
||||
import com.mogo.eagle.core.data.map.CenterLine;
|
||||
import com.mogo.eagle.core.data.map.MogoLatLng;
|
||||
import com.mogo.map.hdcache.IHdCacheListener;
|
||||
|
||||
import org.json.JSONObject;
|
||||
|
||||
@@ -340,4 +341,11 @@ public interface IMogoMapUIController {
|
||||
*/
|
||||
void setAllGesturesEnabled(boolean isEnable);
|
||||
|
||||
void cacheHDDataByCity(IHdCacheListener listener);
|
||||
|
||||
/**
|
||||
* 当前城市离线数据是否已缓存
|
||||
* @return
|
||||
*/
|
||||
boolean isCityDataCached();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user