[Feat]新增高精地图缓存功能

This commit is contained in:
chenfufeng
2023-02-10 19:32:22 +08:00
parent 8d6bee790a
commit 30cf22ab6c
23 changed files with 539 additions and 14 deletions

View File

@@ -0,0 +1,5 @@
package com.mogo.map.hdcache
interface IHdCacheListener {
fun onMapHdCacheProgress(cityId: Int, progress: Double)
}

View File

@@ -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();
}