|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.android.map.Layer com.esri.android.map.TiledLayer com.esri.android.map.TiledServiceLayer com.esri.android.map.ags.ArcGISTiledMapServiceLayer
public class ArcGISTiledMapServiceLayer
The ArcGISTiledMapServiceLayer class allows you to work with a cached map service resource exposed by the ArcGIS Server REST API.
A cached service accesses tiles from a cache instead of dynamically rendering images. Java usage:
MapView mv = new MapView(this);
mv.addLayer(new ArcGISTiledMapServiceLayer(
"http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"));
setContentView(mv);
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.esri.android.map.TiledServiceLayer |
---|
TiledServiceLayer.TileInfo |
Constructor Summary | |
---|---|
ArcGISTiledMapServiceLayer(String url)
This constructor is used if you're instantiating the ArcGISTiledMapServiceLayer using Java code (see the class description for an example of this usage). |
|
ArcGISTiledMapServiceLayer(String url,
UserCredentials credentials)
This constructor is used if you're instantiating the ArcGISTiledMapServiceLayer using Java code. |
|
ArcGISTiledMapServiceLayer(String url,
UserCredentials credentials,
boolean initLayer)
Instantiates an object of ArcGISTiledMapServiceLayer. |
Method Summary | |
---|---|
ArcGISLayerInfo[] |
getAllLayers()
Returns the all of sub-layers of the tiled map service. |
String |
getCapabilities()
Gets the capabilities of the map service. |
ArcGISLayerInfo[] |
getLayers()
Returns the immediate sub-layers of the tiled map service. |
Methods inherited from class com.esri.android.map.TiledServiceLayer |
---|
getTileInfo, recycle |
Methods inherited from class com.esri.android.map.TiledLayer |
---|
clearTiles, getBrightness, getContrast, getCurrentLevel, getGamma, setBrightness, setContrast, setGamma |
Methods inherited from class com.esri.android.map.Layer |
---|
getCredentials, getDefaultSpatialReference, getExtent, getFullExtent, getHeight, getID, getName, getOpacity, getPopupInfo, getResolution, getSpatialReference, getTitle, getUrl, getUrlHashCode, getWidth, isInitialized, isRecycled, isVisible, isWebMapBaselayer, reinitializeLayer, setName, setOnStatusChangedListener, setOpacity, setPopupInfos, setVisible |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArcGISTiledMapServiceLayer(String url)
url
- the URL of the dynamic map service.public ArcGISTiledMapServiceLayer(String url, UserCredentials credentials)
url
- the URL of the tiled map service.credentials
- the credentials used for accessing a secure tiled map servicepublic ArcGISTiledMapServiceLayer(String url, UserCredentials credentials, boolean initLayer)
url
- the URL of the tiled map service.credentials
- the credentials used for accessing a secure tiled map serviceinitLayer
- set to true to initialize layer.Method Detail |
---|
public ArcGISLayerInfo[] getLayers()
ArcGISLayerInfo.getLayers()
to get the sub-layers of the group layer.
ArcGISLayerInfo
.public ArcGISLayerInfo[] getAllLayers()
getLayers()
if you need the layers returned
in hierarchy.
ArcGISLayerInfo
.public String getCapabilities()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |