|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.android.map.Layer
com.esri.android.map.TiledLayer
com.esri.android.map.TiledServiceLayer
public abstract class TiledServiceLayer
The Class TiledServiceLayer.
Nested Class Summary | |
---|---|
static class |
TiledServiceLayer.TileInfo
A class wrapping the tiled info. |
Field Summary | |
---|---|
protected boolean |
isBingMap
|
protected ConcurrentHashMap<String,Future<?>> |
pending
|
Fields inherited from class com.esri.android.map.Layer |
---|
credentials, nativeHandle, popUpInfos, serviceInfo |
Constructor Summary | |
---|---|
TiledServiceLayer(String url)
Constructs a tiled layer for the URL within the given Context. |
Method Summary | |
---|---|
protected void |
cancelPendingTasks()
|
protected void |
cancelRequest(int level,
int col,
int row)
The method is a callback from native ServiceTileLayer object. |
protected long |
create()
|
protected abstract byte[] |
getTile(int level,
int col,
int row)
|
TiledServiceLayer.TileInfo |
getTileInfo()
Returns the TiledInfo object. |
protected void |
initLayer()
Initializes the layer. |
void |
recycle()
Releases resources referenced by the Layer so that they can be recycled. |
protected void |
requestTile(int level,
int col,
int row)
The method is a callback from native ServiceTileLayer object. |
protected void |
setTileInfo(TiledServiceLayer.TileInfo tileInfo)
Sets the TileInfo object |
Methods inherited from class com.esri.android.map.TiledLayer |
---|
clearTiles, getBrightness, getContrast, getCurrentLevel, getGamma, setBrightness, setContrast, setGamma |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final ConcurrentHashMap<String,Future<?>> pending
protected boolean isBingMap
Constructor Detail |
---|
public TiledServiceLayer(String url)
url
- an URL stringMethod Detail |
---|
protected long create()
create
in class Layer
public TiledServiceLayer.TileInfo getTileInfo()
protected void setTileInfo(TiledServiceLayer.TileInfo tileInfo)
tileInfo
- a TileInfo objectprotected void initLayer()
Layer
OnStatusChangedListener.STATUS
event accordingly.
initLayer
in class Layer
protected abstract byte[] getTile(int level, int col, int row) throws Exception
Exception
protected void requestTile(int level, int col, int row)
level
- an integer of tile zoom levelrow
- an integer for the tile rowcol
- an integer for the tile columnprotected void cancelRequest(int level, int col, int row)
level
- an integer of tile zoom levelrow
- an integer for the tile rowcol
- an integer for the tile columnpublic void recycle()
Layer
recycle
in class Layer
protected void cancelPendingTasks()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |