hungio / route-me

Automatically exported from code.google.com/p/route-me
0 stars 0 forks source link

remove old tiles from db cache #146

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Our tile source provider does not allow us to keep the tiles more than 14 days. 
The attached patch add a method purgeTilesFromBefore:(NSDate*) to 
RMDatabaseCache.

It is currently up to the application developer to call this method when 
needed. An improvement would be to add a tile timeout variable to the cache 
config.

Original issue reported on code.google.com by hal...@pvv.org on 23 Sep 2010 at 12:00

Attachments: