Alert when cache queue is empty

Topics: Feature Requests
Aug 27, 2011 at 4:36 PM
Edited Aug 27, 2011 at 4: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 2:50 PM

Any ideas?

Thanks!

Aug 31, 2011 at 6: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 6:24 PM
Edited Nov 25, 2011 at 6:25 PM

check: map.Manager.OnTileCacheComplete