开发者

OSMdroid : How to render offline map from a local zip archive

I'm using the osmdroid library for my custom map application and my last issue is related to the accessibility of offline contents prepared in a common format easy to share.

In the specific I'm now able to correctly download .png tiles from my custom data source using Tile P开发者_StackOverflow中文版ackager and compress them into a .zip archive directly on the SD card, but I can't render them in my MapView. Could someone please post some example to explain how to load the tiles directly from the zip archive in a scenario without connectivity in offline mode?

I already checked the post OSMdroid : How to load offline map from zip archive - MapTileFileArchiveProvider, but no example is provided.


you should use MOBAC to download tiles and select map format as OSMdroid Zip... then just place that .zip file in /sdcard/osmdroid/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜