-
- All Implemented Interfaces:
-
org.osmdroid.tileprovider.modules.IArchiveFile
public class GEMFFileArchive implements IArchiveFile
-
-
Constructor Summary
Constructors Constructor Description GEMFFileArchive()
-
Method Summary
Modifier and Type Method Description static GEMFFileArchivegetGEMFFileArchive(File pFile)voidinit(File pFile)initialize the file archive, such as performing initial scans, queries, opening a database, etc InputStreamgetInputStream(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. voidsetIgnoreTileSource(boolean pIgnoreTileSource)voidclose()Closes the archive file and releases resources. StringtoString()-
-
Method Detail
-
getGEMFFileArchive
static GEMFFileArchive getGEMFFileArchive(File pFile)
-
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
-
setIgnoreTileSource
void setIgnoreTileSource(boolean pIgnoreTileSource)
-
close
void close()
Closes the archive file and releases resources.
-
-
-
-