本文介绍了Osmdroid - 改变当地的地图文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用osmdroid的离线版本,地图都放在SD卡/ osmdroid。你知道吗,如何更改文件路径?我一直在寻找通过他们的code处理ZIP文件,但我没有找到任何解决办法。之前,任何人面对这个问题?
I am using offline version of osmdroid, maps are placed in sdcard/osmdroid. Do you know, how to change the file path? I have been searching through their code for handling ZIP files but I haven't found any solution. Anyone faced this issue before?
THX
推荐答案
这里你可以检查出code建立你自己的版本OSMdroid的。修改ZIP和本地文件夹是完全possbile,只好自己做几个月前。
Here you can check out the code to build your own version of OSMdroid. Changing ZIP and local folder is totally possbile, had to do it myself a few months ago.
负责拉链此类:
org/osmdroid/tileprovider/modules/ZipFileArchive.java
org/osmdroid/tileprovider/modules/MapTileFileArchiveProvider.java
这篇关于Osmdroid - 改变当地的地图文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!