PATRIK27 / osmdroid

Automatically exported from code.google.com/p/osmdroid
0 stars 0 forks source link

We should implement a way to cancel pending tile requests #151

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When someone is zooming in or out, they typically are no longer interested in 
obtaining the tiles from the previous zoom level. However, these tile requests 
are queuing up in a potentially long-wait queue (like a tile downloader) and 
will delay newer tile requests that are of higher importance. This is 
particularly a problem when zooming-in or out very quickly.

We should implement a way to send a "cancel pending tile requests" message up 
the tile request chain.

Original issue reported on code.google.com by kurtzm...@gmail.com on 30 Jan 2011 at 3:47

GoogleCodeExporter commented 8 years ago
Why is this a problem? Surely the old requests just drop off the bottom of the 
queue and the new requests go to the top? That's the way it's supposed to work.

Original comment by neilboyd on 31 Jan 2011 at 6:33

GoogleCodeExporter commented 8 years ago
Duh... This has clearly already been taken care of - in 
MapTileModuleProviderBase new requests are put at the front of the queue and 
old requests over a threshold will be dropped.

Original comment by kurtzm...@gmail.com on 2 Feb 2011 at 1:18