I am trying to implement offline StreetMap using OSMDroid.
I am confused about how to implement it: How can we provide tiles to maps from zip files?
I read many tutorials but I don't understand how it can be done. I get zip files of tiles using Mobile Atlas Creator.
Can anyone help me with this?
I can make the map works offline. Here are the steps:
/sdcard/osmdroid/
private final XYTileSource FourUMapsTileSource = new XYTileSource("4uMaps", 0, 18, 256, ".png", new String[ {"http://tileserver.4umaps.eu/"});
(here I used 4uMaps as my tile source)mapview
setting: mapView.setUseDataConnection(false);
, mapView.setTileSource(FourUMapsTileSource);
You can look at this Guide for more detail.