[Feat]新增高精地图缓存功能
This commit is contained in:
@@ -498,6 +498,7 @@ object CallerHmiManager : CallerBase() {
|
||||
waringProviderApi?.updateMfStatus(tag, status)
|
||||
}
|
||||
|
||||
|
||||
|
||||
fun updateHDDataCacheStatus(isCached: Boolean) {
|
||||
waringProviderApi?.updateHDDataCacheStatus(isCached)
|
||||
}
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user