Alert when cache queue is empty

Topics: Feature Requests
Aug 27, 2011 at 3:36 PM
Edited Aug 27, 2011 at 3:37 PM

Hi radioman!

In my application, I provide the possibility to cache map-tiles. The problem is, with the new caching system the downloaded tiles are still in the cache queue, when the download is long finished, so when the user closes the program, the tiles in the queue are not stored in the database.

Is there a way to somehow alert the user when the queue is empty and all tiles are stored in the database (raise an event?). Then I could just show a wait dialog, until all tiles are saved.

Please help!

Thanks a lot

Aug 31, 2011 at 1:50 PM

Any ideas?


Aug 31, 2011 at 5:35 PM

actually tiles are stored in background after you close your app, it's done in foreground thread, anyway event for empty queue can be useful, i'll add it

Nov 25, 2011 at 5:24 PM
Edited Nov 25, 2011 at 5:25 PM

check: map.Manager.OnTileCacheComplete