public interface ITileSource
Modifier and Type | Method and Description |
---|---|
android.graphics.drawable.Drawable |
getDrawable(InputStream aTileInputStream)
Get a rendered Drawable from the specified InputStream.
|
android.graphics.drawable.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(MapTile aTile)
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(MapTile aTile)
aTile
- the tileandroid.graphics.drawable.Drawable getDrawable(String aFilePath) throws BitmapTileSourceBase.LowMemoryException
aFilePath
- a file pathBitmapTileSourceBase.LowMemoryException
android.graphics.drawable.Drawable getDrawable(InputStream aTileInputStream) throws BitmapTileSourceBase.LowMemoryException
aTileInputStream
- an InputStreamBitmapTileSourceBase.LowMemoryException
int getMinimumZoomLevel()
int getMaximumZoomLevel()
int getTileSizePixels()
Copyright © 2015. All Rights Reserved.