Package 

Class GEMFFileArchive

    • Method Summary

      Modifier and Type Method Description
      static GEMFFileArchive getGEMFFileArchive(File pFile)
      void init(File pFile) initialize the file archive, such as performing initial scans, queries, opening a database, etc
      InputStream getInputStream(ITileSource pTileSource, long pMapTileIndex) Get the input stream for the requested tile and tile source.
      Set<String> getTileSources() returns a list of tile source names that are available in the archive, if supported.
      void setIgnoreTileSource(boolean pIgnoreTileSource)
      void close() Closes the archive file and releases resources.
      String toString()
      • Methods inherited from class org.osmdroid.tileprovider.modules.IArchiveFile

        getInputStream
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GEMFFileArchive

        GEMFFileArchive()
    • Method Detail

      • init

         void init(File pFile)

        initialize the file archive, such as performing initial scans, queries, opening a database, etc

      • getInputStream

         InputStream getInputStream(ITileSource pTileSource, long pMapTileIndex)

        Get the input stream for the requested tile and tile source.

        Also keep in mind that the tile source has an explicit tile size in pixels, and tile source name.

      • getTileSources

         Set<String> getTileSources()

        returns a list of tile source names that are available in the archive, if supported. Ifnot supported, return an empty set

      • close

         void close()

        Closes the archive file and releases resources.