[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

@@ -498,6 +498,7 @@ object CallerHmiManager : CallerBase() {
waringProviderApi?.updateMfStatus(tag, status)
}
fun updateHDDataCacheStatus(isCached: Boolean) {
waringProviderApi?.updateHDDataCacheStatus(isCached)
}
}

View File

@@ -5,6 +5,7 @@ import com.mogo.eagle.core.data.constants.MogoServicePaths
import com.mogo.eagle.core.function.api.map.IMogoMapService
import com.mogo.eagle.core.function.api.map.marker.IMogoMarkerService
import com.mogo.eagle.core.function.call.base.CallerBase
import com.mogo.map.hdcache.IHdCacheListener
import com.mogo.map.listener.IMogoHosListenerRegister
import com.mogo.map.location.IMogoLocationClient
import com.mogo.map.marker.IMogoMarkerManager
@@ -42,4 +43,12 @@ object CallerMapUIServiceManager {
fun getMarkerService(): IMogoMarkerService? {
return serviceProvider?.markerService
}
fun cacheHDDataByCity(listener: IHdCacheListener) {
serviceProvider?.mapUIController?.cacheHDDataByCity(listener)
}
fun isCityDataCached(): Boolean {
return serviceProvider?.mapUIController?.isCityDataCached ?: true
}
}