public interface ITileSource
Modifier and Type | Method and Description |
---|---|
String |
getCopyrightNotice()
Returns an I18N sensitive string representing the copy right notice (if any) of the tile source
|
Drawable |
getDrawable(InputStream aTileInputStream)
Get a rendered Drawable from the specified InputStream.
|
Drawable |
getDrawable(String aFilePath)
Get a rendered Drawable from the specified file path.
|
int |
getMaximumZoomLevel()
Get the maximum zoom level this tile source can provide.
|
int |
getMinimumZoomLevel()
Get the minimum zoom level this tile source can provide.
|
String |
getTileRelativeFilenameString(long pMapTileIndex)
Get a unique file path for the tile.
|
int |
getTileSizePixels()
Get the tile size in pixels this tile source provides.
|
String |
name()
A human-friendly name for this tile source
|
int |
ordinal()
Deprecated.
|
@Deprecated int ordinal()
String name()
String getTileRelativeFilenameString(long pMapTileIndex)
pMapTileIndex
- the tileDrawable getDrawable(String aFilePath) throws BitmapTileSourceBase.LowMemoryException
aFilePath
- a file pathBitmapTileSourceBase.LowMemoryException
Drawable getDrawable(InputStream aTileInputStream) throws BitmapTileSourceBase.LowMemoryException
aTileInputStream
- an InputStreamBitmapTileSourceBase.LowMemoryException
int getMinimumZoomLevel()
int getMaximumZoomLevel()
int getTileSizePixels()
String getCopyrightNotice()