Using OSMDroid 4.1, for a few years with no problems. Data is in 2 SQLite files as I have 2 map types: Mapnik and OSMPublicTransport. File extensions are .mbtiles for both.
Recently there was an Android update, causing serious troubles, mainly with accessing the SD card but that has been solved by moving the main database (not the map files) to File.DirInternal.
As far as I know the OSMDroid databased need to be in File.DirRootExternal & "/osmdroid/" and I still have it there. I think it has to be there so the map data can be cached.
Now for some reason no map data is showing at all. No error message, just nil showing. When stepping through the code nil unusual is happening.
I tried moving the map databases to File.DirInternal & "/osmdroid", but no difference.
The tile source is set like this:
Any idea what the problem could be here?
RBS
Recently there was an Android update, causing serious troubles, mainly with accessing the SD card but that has been solved by moving the main database (not the map files) to File.DirInternal.
As far as I know the OSMDroid databased need to be in File.DirRootExternal & "/osmdroid/" and I still have it there. I think it has to be there so the map data can be cached.
Now for some reason no map data is showing at all. No error message, just nil showing. When stepping through the code nil unusual is happening.
I tried moving the map databases to File.DirInternal & "/osmdroid", but no difference.
The tile source is set like this:
B4X:
Dim TileSourceFactory1 As OSMDroid_TileSourceFactory
MapView1.SetTileSource(TileSourceFactory1.GetTileSource("Mapnik"))
Any idea what the problem could be here?
RBS