-
public interface ITileSource
-
-
Method Summary
Modifier and Type Method Description abstract intordinal()An ordinal identifier for this tile source abstract Stringname()A human-friendly name for this tile source abstract StringgetTileRelativeFilenameString(long pMapTileIndex)Get a unique file path for the tile. abstract DrawablegetDrawable(String aFilePath)Get a rendered Drawable from the specified file path. abstract DrawablegetDrawable(InputStream aTileInputStream)Get a rendered Drawable from the specified InputStream. abstract intgetMinimumZoomLevel()Get the minimum zoom level this tile source can provide. abstract intgetMaximumZoomLevel()Get the maximum zoom level this tile source can provide. abstract intgetTileSizePixels()Get the tile size in pixels this tile source provides. abstract StringgetCopyrightNotice()Returns an I18N sensitive string representing the copy right notice (if any) of the tile source -
-
Method Detail
-
ordinal
@Deprecated() abstract int ordinal()
An ordinal identifier for this tile source
-
getTileRelativeFilenameString
abstract String getTileRelativeFilenameString(long pMapTileIndex)
Get a unique file path for the tile. This file path may be used to store the tile on a filesystem and performance considerations should be taken into consideration. It can includemultiple paths. It should not begin with a leading path separator.
- Parameters:
pMapTileIndex- the tile
-
getDrawable
abstract Drawable getDrawable(String aFilePath)
Get a rendered Drawable from the specified file path.
- Parameters:
aFilePath- a file path
-
getDrawable
abstract Drawable getDrawable(InputStream aTileInputStream)
Get a rendered Drawable from the specified InputStream.
- Parameters:
aTileInputStream- an InputStream
-
getMinimumZoomLevel
abstract int getMinimumZoomLevel()
Get the minimum zoom level this tile source can provide.
-
getMaximumZoomLevel
abstract int getMaximumZoomLevel()
Get the maximum zoom level this tile source can provide.
-
getTileSizePixels
abstract int getTileSizePixels()
Get the tile size in pixels this tile source provides.
-
getCopyrightNotice
abstract String getCopyrightNotice()
Returns an I18N sensitive string representing the copy right notice (if any) of the tile source
-
-
-
-