How to create osmdroid XYTileSource for offline tiles in version 4.1?
问题 I have offline osmdroid maps working using version 4.0. Upgrading to 4.1, they no longer work. I have narrowed the problem down to the XYTileSource, in which aBaseUrl changed from being a string in 4.0 to and array in 4.1. How do I get offline tiles to work in 4.1? Old 4.0 code that worked. The tiles are in /sdcard/osmdroid/tiles.zip XYTileSource ts = new XYTileSource ( "tiles", ResourceProxy.string.offline_mode, 13, 17, 256, ".png", "http://127.0.0.1"); mapView = (MapView) findViewById(R.id