| java.lang.Object | |||
| ↳ | com.esri.android.map.Layer | ||
| ↳ | com.esri.android.map.TiledLayer | ||
| ↳ | com.esri.android.map.TiledServiceLayer | ||
Known Direct Subclasses
|
The Class TiledServiceLayer.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| class | TiledServiceLayer.TileInfo | A class wrapping the tiled info. | |||||||||
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | WEB_MERCATOR_SPATIAL_REFERENCE_WKID | The constant WKID (102100) of web mercator spatial reference | |||||||||
| int | initWithDpi | The DPI for Maps. | |||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| protected boolean | isBingMap | ||||||||||
| protected final ConcurrentHashMap<String, Future<?>> | pending | ||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.esri.android.map.Layer
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
TiledServiceLayer(String url)
Constructs a tiled layer for the URL within the given Context.
| |||||||||||
|
TiledServiceLayer(boolean initLayer)
Constructs a tiled layer.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| TiledServiceLayer.TileInfo |
getTileInfo()
Returns the TiledInfo object.
| ||||||||||
| void |
recycle()
Releases resources referenced by the Layer so that they can be recycled.
| ||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| void | cancelPendingTasks() | ||||||||||
| void |
cancelRequest(int level, int col, int row)
The method is a callback from native ServiceTileLayer object.
| ||||||||||
| long | create() | ||||||||||
| abstract byte[] | getTile(int level, int col, int row) | ||||||||||
| void |
initLayer()
Initializes the layer.
| ||||||||||
| void |
requestTile(int level, int col, int row)
The method is a callback from native ServiceTileLayer object.
| ||||||||||
| void |
setTileInfo(TiledServiceLayer.TileInfo tileInfo)
Sets the TileInfo object
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.esri.android.map.TiledLayer
| |||||||||||
From class
com.esri.android.map.Layer
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.esri.android.map.popup.PopupLayer
| |||||||||||
The constant WKID (102100) of web mercator spatial reference
The DPI for Maps. The value is 96.
Constructs a tiled layer for the URL within the given Context.
| url | an URL string |
|---|
Constructs a tiled layer.
| initLayer | layer will be initialized if it is true |
|---|
Returns the TiledInfo object.
Releases resources referenced by the Layer so that they can be recycled.
The method is a callback from native ServiceTileLayer object. The end user will not use it directly. It is called when the ServiceTileLayer object need to cancel the previous request.
| level | an integer of tile zoom level |
|---|---|
| col | an integer for the tile column |
| row | an integer for the tile row |
Initializes the layer. The implementation should submit the OnStatusChangedListener.STATUS event accordingly.
The method is a callback from native ServiceTileLayer object. The end user will not use it directly. The method will be called when the layer is zoomed in or our, a new tile needs to be updated.
| level | an integer of tile zoom level |
|---|---|
| col | an integer for the tile column |
| row | an integer for the tile row |
Sets the TileInfo object
| tileInfo | a TileInfo object |
|---|