Osmdroid - custom offline tile source change location

别等时光非礼了梦想. 提交于 2019-12-10 19:02:53

问题


I am using this code for displaying offline Osmdroid map tiles. Problem is, I have stored my tiles in location /sdcard/emulated0/0/. It there any way how to pass it into XYTileSource?

Thx

    myMapView.setTileSource  (new XYTileSource ("Mapnik", ResourceProxy.string.offline_mode, 13, 17, 512, ".png", "http://127.0.0.1"))

来源:https://stackoverflow.com/questions/25759654/osmdroid-custom-offline-tile-source-change-location

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!