Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Manage cache of MapView

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).

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 ?

like image 848
Denys Séguret Avatar asked Feb 01 '10 13:02

Denys Séguret


1 Answers

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.

like image 64
CommonsWare Avatar answered Sep 30 '22 11:09

CommonsWare