public CacheManagerTask downloadAreaAsync ( Context ctx , ArrayList < GeoPoint > geoPoints , final int zoomMin , final int zoomMax , final CacheManagerCallback callback ) { final CacheManagerTask task = new CacheManagerTask ( this , getDownloadingAction ( ) , geoPoints , zoomMin , zoomMax ) ; task . addCallback ( callback ) ; task . addCallback ( getDownloadingDialog ( ctx , task ) ) ; return execute ( task ) ; }
Download in background all tiles covered by the GePoints list in osmdroid cache .