datasource - Osmdroid - from offline folder -


i using osmdroid display both online , offline data in app. offline data stored in .zip file required structure.

is possible have these offline tiles stored in directory (extracted .zip file same structure)? please tell me how achive this?

thank you.

well, far understand trying get... more or less standard xytilesource doing.

so if use ready-to-use tile source one:

map.settilesource(tilesourcefactory.mapnik); 

you see downloaded tiles files stored in /sdcard/osmdroid/tiles/mapnik/

the main difference adds ".tile" extension @ end of each tile file (probably prevent tools android gallery index images).

if have zip file tiles ready use, extract them in directory, , add .tile extension each tile (355.png => 355.png.tile)

and tilesourcefactory.mapnik able use them.


Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -