Package 

Class CacheManager


  • 
    public class CacheManager
    
                        

    Provides various methods for managing the local filesystem cache of osmdroid tiles: - Dowloading of tiles inside a specified area, - Cleaning of tiles inside a specified area,- Information about cache capacity and current cache usage.

    Important note 1: These methods only make sense for a MapView using an OnlineTileSourceBase: bitmap tiles downloaded from urls. Important note 2 - about Bulk Downloading:When using OSM Mapnik tile server as the tile source, take care about OSM Tile usage policy (http://wiki.openstreetmap.org/wiki/Tile_usage_policy). Do not let to end-users the ability to download significant areas of tiles.