Osmdroid - custom offline tile source change locat

2019-07-07 19:51发布

问题:

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"))