public abstract class TileSource
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TileSource.Builder<T extends TileSource.Builder<T>> |
static class |
TileSource.OpenResult
A FileOpenResult is a simple DTO which is returned by
IMapDatabase#open().
|
static class |
TileSource.Options |
| Modifier and Type | Field and Description |
|---|---|
protected float |
mAlpha |
protected BitmapTileLayer.FadeStep[] |
mFadeSteps |
protected java.lang.String |
mName |
protected int |
mOverZoom |
protected int |
mTileSize |
protected int |
mZoomMax |
protected int |
mZoomMin |
protected TileSource.Options |
options |
ITileCache |
tileCache |
| Modifier | Constructor and Description |
|---|---|
protected |
TileSource() |
protected |
TileSource(int zoomMin,
int zoomMax) |
protected |
TileSource(int zoomMin,
int zoomMax,
int overZoom) |
|
TileSource(TileSource.Builder<?> builder) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
close() |
float |
getAlpha() |
abstract ITileDataSource |
getDataSource() |
BitmapTileLayer.FadeStep[] |
getFadeSteps() |
java.lang.String |
getName() |
java.lang.String |
getOption(java.lang.String key) |
int |
getOverZoom() |
int |
getTileSize() |
int |
getZoomLevelMax() |
int |
getZoomLevelMin() |
abstract TileSource.OpenResult |
open() |
void |
setCache(ITileCache cache)
Cache MUST be set before TileSource is added to a TileLayer!
|
void |
setFadeSteps(BitmapTileLayer.FadeStep[] fadeSteps) |
TileSource |
setOption(java.lang.String key,
java.lang.String value) |
protected float mAlpha
protected int mZoomMin
protected int mZoomMax
protected int mOverZoom
protected BitmapTileLayer.FadeStep[] mFadeSteps
protected java.lang.String mName
protected int mTileSize
protected final TileSource.Options options
public ITileCache tileCache
protected TileSource()
protected TileSource(int zoomMin,
int zoomMax)
protected TileSource(int zoomMin,
int zoomMax,
int overZoom)
public TileSource(TileSource.Builder<?> builder)
public abstract ITileDataSource getDataSource()
public abstract TileSource.OpenResult open()
public abstract void close()
public float getAlpha()
public void setCache(ITileCache cache)
public int getZoomLevelMax()
public int getZoomLevelMin()
public int getOverZoom()
public void setFadeSteps(BitmapTileLayer.FadeStep[] fadeSteps)
public BitmapTileLayer.FadeStep[] getFadeSteps()
public java.lang.String getName()
public int getTileSize()
public TileSource setOption(java.lang.String key, java.lang.String value)
public java.lang.String getOption(java.lang.String key)