guzhengming / osmdroid

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

Performance optimization for tiles downloading #492

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use an online tilesource for the first time, with no tiles cached
2. Fetching of the tiles will perform badly on a 3G network
3.

What is the expected output? What do you see instead?
A better performance.

What version of the product are you using? On what operating system?
3.0.10

Please provide any additional information below.
Is there a chance to implement some performance optimizations for the tiles 
downloading?

Original issue reported on code.google.com by gencic.n...@gmail.com on 9 Nov 2013 at 12:14

GoogleCodeExporter commented 9 years ago
How do you expect to achieve this?

Original comment by neilboyd on 11 Nov 2013 at 7:02

GoogleCodeExporter commented 9 years ago
Would it maybe help if you integrated Volley or something similar, and then, 
when the new tile request comes - immediately cancel all the download requests 
for the tiles that are not visible on the map? 

Original comment by gencic.n...@gmail.com on 11 Nov 2013 at 10:32