anhtuanmai / osmdroid

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

Tiles doesn't show when SD card is unmounted but device is connected to Internet #410

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Unmound SD card
2. Connect to Internet
3. Try use MapView in usual way

What is the expected output? What do you see instead?
I expected that tiles will load from Internet but only background grid is 
visible, no map tiles.

What version of the product are you using? On what operating system?
osmdroid 3.0.8, Android 4.0.4 and 2.3.3

Can osmdroid work only with mounted SD card?

Thanks, Lukas

Original issue reported on code.google.com by lukas.vy...@gmail.com on 23 Mar 2013 at 11:33

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I think the fix for issue207 has caused this issue

Original comment by ori.kle...@gmail.com on 9 May 2013 at 9:23

GoogleCodeExporter commented 8 years ago
Ori.klein1 is correct. The tile downloader requires a file cache. When a tile 
is downloaded it is written to the file cache and then the tile is served by 
the filesystem provider. If you read issue 207 it explains that this prevents 
the situation where tiles are downloaded for an area that is now off-screen. 
Previously this would push out tiles from the memory cache that were on the 
screen causing the tiles to "flash".

Original comment by kurtzm...@gmail.com on 14 Jun 2013 at 2:01

GoogleCodeExporter commented 8 years ago
ok, thanks for explanation.

Original comment by lukas.vy...@gmail.com on 18 Jun 2013 at 6:55