views:

312

answers:

2

Hello, 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 ?

+1  A: 

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.

CommonsWare
The mapping engine is not the problem, the true problem is to access satellite data...But I didn't see this 8.2 section before. So I'll have to look for another provider of maps than google :(I still don't know why they didn't offer cache management facilities...
dystroy
A: 

osmdroid now provides a library that can almost be used as a Google Maps replacement. It can support offline maps by downloading and extracting AndNav map tiles.

http://code.google.com/p/osmdroid/

Anders Petersson