管理图形页面的缓存缓存、图形、页面

由网友(鹭岛)分享简介:我做了基于谷歌地图API的应用程序。问题是,我的申请是在野外使用,在地方没有网络。所以,我想管理缓存,以确保特定的瓷砖在旅途中被保存和使用(我想重定向他们在数据库中,但任何方法可以这样做)。I've made an application based on the Google Maps API. The probl...

我做了基于谷歌地图API的应用程序。问题是,我的申请是在野外使用,在地方没有网络。  所以,我想管理缓存,以确保特定的瓷砖在旅途中被保存和使用(我想重定向他们在数据库中,但任何方法可以这样做)。

I've made an application based on the Google Maps API. The problem is that my application is made to be used in the wild, in places where there is no network. So I would like to manage the cache in order to ensure that specific tiles are saved and available during the trip (I'd like to redirect them in database but any method may do).

现在,我没有发现任何其他方法(未测试),比试图重新code的MapView类。我专注于谷歌的API,以便有卫星照片(用于在没有道路的地方)。我能做什么?

For now, I didn't found any other method (not tested) than try to recode the MapView class. I'm focusing on Google API in order to have satellite photography (for places where there are no roads). What could I do ?

推荐答案

你想要的是违反的 Android的地图API服务条款(参见8.2节)。你需要找到一种替代映射引擎的使用,也许是基于 OpenStreetMap的。

What you want is in violation of the Android Maps APIs Terms of Service (see section 8.2). You will need to find an alternative mapping engine to use, perhaps based on OpenStreetMap.

阅读全文

相关推荐

最新文章