|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.osmdroid.tileprovider.modules.MapTileModuleProviderBase
public abstract class MapTileModuleProviderBase
An abstract base class for modular tile providers
Nested Class Summary | |
---|---|
class |
MapTileModuleProviderBase.CantContinueException
Thrown by a tile provider module in TileLoader.loadTile() to signal that it can no longer function properly. |
protected class |
MapTileModuleProviderBase.TileLoader
Load the requested tile. |
Field Summary |
---|
Constructor Summary | |
---|---|
MapTileModuleProviderBase(int pThreadPoolSize,
int pPendingQueueSize)
|
Method Summary | |
---|---|
void |
detach()
Detach, we're shutting down - Stops all workers. |
abstract int |
getMaximumZoomLevel()
Gets the maximum zoom level this tile provider can provide |
abstract int |
getMinimumZoomLevel()
Gets the minimum zoom level this tile provider can provide |
protected abstract String |
getName()
Gets the human-friendly name assigned to this tile provider. |
protected abstract String |
getThreadGroupName()
Gets the name assigned to the thread for this provider. |
protected abstract Runnable |
getTileLoader()
It is expected that the implementation will construct an internal member which internally implements a MapTileModuleProviderBase.TileLoader . |
abstract boolean |
getUsesDataConnection()
Returns true if implementation uses a data connection, false otherwise. |
void |
loadMapTileAsync(MapTileRequestState pState)
|
abstract void |
setTileSource(ITileSource tileSource)
Sets the tile source for this tile provider. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MapTileModuleProviderBase(int pThreadPoolSize, int pPendingQueueSize)
Method Detail |
---|
protected abstract String getName()
protected abstract String getThreadGroupName()
protected abstract Runnable getTileLoader()
MapTileModuleProviderBase.TileLoader
. This method is expected to return a that internal member to
methods of the parent methods.
public abstract boolean getUsesDataConnection()
public abstract int getMinimumZoomLevel()
public abstract int getMaximumZoomLevel()
public abstract void setTileSource(ITileSource tileSource)
tileSource
- the tile sourcepublic void loadMapTileAsync(MapTileRequestState pState)
public void detach()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |