|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.osmdroid.tileprovider.modules.MapTileModuleProviderBase
org.osmdroid.tileprovider.modules.MapTileFileStorageProviderBase
org.osmdroid.tileprovider.modules.MapTileFileArchiveProvider
public class MapTileFileArchiveProvider
A tile provider that can serve tiles from an archive using the supplied tile source. The tile provider will automatically find existing archives and use each one that it finds.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.osmdroid.tileprovider.modules.MapTileModuleProviderBase |
---|
MapTileModuleProviderBase.CantContinueException |
Field Summary | |
---|---|
protected ITileSource |
mTileSource
|
Constructor Summary | |
---|---|
MapTileFileArchiveProvider(IRegisterReceiver pRegisterReceiver,
ITileSource pTileSource)
|
|
MapTileFileArchiveProvider(IRegisterReceiver pRegisterReceiver,
ITileSource pTileSource,
IArchiveFile[] pArchives)
The tiles may be found on several media. |
Method Summary | |
---|---|
void |
detach()
Detach, we're shutting down - Stops all workers. |
int |
getMaximumZoomLevel()
Gets the maximum zoom level this tile provider can provide |
int |
getMinimumZoomLevel()
Gets the minimum zoom level this tile provider can provide |
protected String |
getName()
Gets the human-friendly name assigned to this tile provider. |
protected String |
getThreadGroupName()
Gets the name assigned to the thread for this provider. |
protected Runnable |
getTileLoader()
It is expected that the implementation will construct an internal member which internally implements a MapTileModuleProviderBase.TileLoader . |
boolean |
getUsesDataConnection()
Returns true if implementation uses a data connection, false otherwise. |
protected void |
onMediaMounted()
|
protected void |
onMediaUnmounted()
|
void |
setTileSource(ITileSource pTileSource)
Sets the tile source for this tile provider. |
Methods inherited from class org.osmdroid.tileprovider.modules.MapTileFileStorageProviderBase |
---|
getSdCardAvailable |
Methods inherited from class org.osmdroid.tileprovider.modules.MapTileModuleProviderBase |
---|
loadMapTileAsync |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ITileSource mTileSource
Constructor Detail |
---|
public MapTileFileArchiveProvider(IRegisterReceiver pRegisterReceiver, ITileSource pTileSource, IArchiveFile[] pArchives)
MapTileProviderBase
.
public MapTileFileArchiveProvider(IRegisterReceiver pRegisterReceiver, ITileSource pTileSource)
Method Detail |
---|
public boolean getUsesDataConnection()
MapTileModuleProviderBase
getUsesDataConnection
in class MapTileModuleProviderBase
protected String getName()
MapTileModuleProviderBase
getName
in class MapTileModuleProviderBase
protected String getThreadGroupName()
MapTileModuleProviderBase
getThreadGroupName
in class MapTileModuleProviderBase
protected Runnable getTileLoader()
MapTileModuleProviderBase
MapTileModuleProviderBase.TileLoader
. This method is expected to return a that internal member to
methods of the parent methods.
getTileLoader
in class MapTileModuleProviderBase
public int getMinimumZoomLevel()
MapTileModuleProviderBase
getMinimumZoomLevel
in class MapTileModuleProviderBase
public int getMaximumZoomLevel()
MapTileModuleProviderBase
getMaximumZoomLevel
in class MapTileModuleProviderBase
protected void onMediaMounted()
onMediaMounted
in class MapTileFileStorageProviderBase
protected void onMediaUnmounted()
onMediaUnmounted
in class MapTileFileStorageProviderBase
public void setTileSource(ITileSource pTileSource)
MapTileModuleProviderBase
setTileSource
in class MapTileModuleProviderBase
pTileSource
- the tile sourcepublic void detach()
MapTileModuleProviderBase
detach
in class MapTileFileStorageProviderBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |