Ad

Manage Cache Of MapView

- 1 answer

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 ?

Ad

Answer

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.

Ad
source: stackoverflow.com
Ad