Closed GoogleCodeExporter closed 9 years ago
I apologize for the leftover text at the bottom of the previous issue. So
briefly, here is the description of the issue:
What steps will reproduce the problem?
1. Select OSMAND tile storage in MOBAC. Select the content region and the level
of details. Click on create Atlas. The resultant Atlas is formatted y.jpg.tile.
Even renaming it to y.png.tile does not change the behavior.
2.Copy said atlas, in the current format or after renaming every tile to
y.png.tile in /sdcard/osmdroid/tiles.
3. Set the proper flag to false in the method setUseDataConnection().
What is the expected output? What do you see instead?
I expect the content selected in MOBAC to show up for all levels of detail also
selected in MOBAC. This is not the case, the map is not properly displayed for
the finer LOD. Only the base MapQuest OSM tiles are displayed.
What version of the product are you using? On what operating system?
I am using Android 4.*, with Osmdroid 4.0.jar I obtain the same results with
the newer )smdroid 4.1.jar, as well as the source code from 4.0.jar.
I have tried Osmdroid ZIP atlas format as well, with the same results, the
offline map does not load.
Original comment by cryptoni...@hotmail.com
on 2 Apr 2014 at 11:05
I finally see why the offline maps would not work. Seems like I was making a
content selection(by dragging the mouse on the map in MOBAC) AFTER clicking on
the "Add Selection" button in MOBAC. The area that I selected was not the area
that I thought I selected. The idea is to make your selection by dragging the
mouse on the area that you want to create an atlas for and then hitting the
"Add selection" button afterwards. Essentially, I was zooming in on an area
that I hadn't selected in MOBAC in my app, which is why the tiles would not
load. Of course, you still need to rename all of the tiles from y.jpg.tile to
y.png.tile or else it won't work. So I know this is all confusing but the
offline maps DO in fact work. I just wasn't looking in the right area on the
map.
Original comment by cryptoni...@hotmail.com
on 3 Apr 2014 at 1:02
Thanks for following up with your solution. I will close this issue now.
Original comment by kurtzm...@gmail.com
on 3 Apr 2014 at 1:16
Original issue reported on code.google.com by
cryptoni...@hotmail.com
on 2 Apr 2014 at 10:51