usmaniqbal1983 / osmtracker-android

Automatically exported from code.google.com/p/osmtracker-android
GNU General Public License v3.0
0 stars 0 forks source link

Map tiles were only shown when connected to the internet #173

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download anyhow tiles to the local osmdroid directory
2. Cut the internet connection
3. Show a track and zoom or move around
4. You might have to go to a location were you haven't had a connection before.

What is the expected output? What do you see instead?
Expected is the display of all the available tiles. If a connection exists the 
current tiles are shown. When the connection breaks the previous tiles are 
still shown but no new ones even if they are available. Shown is just a white 
background.

What version of the product are you using (See "About" screen)?
v0.5.7

Make/model of your device, and Android version?
HTC Wildfire S, Android 2.3.5

Please provide any additional information below.
IMO tiles should be shown if they are available regardless of connection. This 
seems just the case for tiles during established connection.
The download of the tiles might be possible when connected or offline through 
simple files move.

Possible reason:
It seems as if the download state is remembered and used instead of a simple 
file check.

Original issue reported on code.google.com by wyss.o...@gmail.com on 3 Mar 2012 at 10:24

GoogleCodeExporter commented 9 years ago
Would be great to use cached tiles within defined directory (e.g. OSMAnd). 
Maps(-) is the best way to cache tiles in advance.
Therefore one may use all of the benefits from this software without waisting 
traffic.

Original comment by svitoz...@gmail.com on 9 Jun 2012 at 8:32

GoogleCodeExporter commented 9 years ago
Hi, sorry for not replying earlier but I stopped getting notifications for new 
issues for some reason.

OSMTracker doesn't deal with the tiles directly, it uses OSMDroid for that, so 
I'm not sure what's going on. Have you checked out the guide on using offline 
tiles on OSMDroid ? http://code.google.com/p/osmdroid/wiki/HowToUsePackager

Original comment by nicolas@guillaumin.me on 28 Jul 2012 at 6:55