Package 

Class DatabaseFileArchive

  • All Implemented Interfaces:
    org.osmdroid.tileprovider.modules.IArchiveFile

    
    public class DatabaseFileArchive
     implements IArchiveFile
                        

    This is the OSMdroid style database provider. It's an extremely simply sqlite database schema. CREATE TABLE tiles (key INTEGER PRIMARY KEY, provider TEXT, tile BLOB) where the key is the X/Y/Z coordinates bitshifted using the following algorithm key = ((z << z) + x << z) + y;

    • Constructor Detail

      • DatabaseFileArchive

        DatabaseFileArchive()