| java.lang.Object | ||
| ↳ | com.esri.android.map.Layer | |
| ↳ | com.esri.android.map.TiledLayer | |
   Known Direct Subclasses
  
 | 
   Known Indirect Subclasses
  
 | 
TiledLayer is the base class for all tiled layers that can be added to a map. You would typically work with one of
 the sub-classes of this abstract class, for example, ArcGISTiledMapServiceLayer.
 
You only need to use this class for adding support for new cached map services.
| 
  [Expand]
   Inherited Fields  | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
   From class
com.esri.android.map.Layer
 | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 
        TiledLayer(String url, boolean initLayer)
        
         Constructs a tiled layer. 
  
   | |||||||||||
| 
        TiledLayer(boolean initLayer)
        
         Constructs a tiled layer. 
  
   | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| void | 
        clearTiles()
        
         Cancels all current tile request. 
  
   | ||||||||||
| float | 
        getBrightness()
        
         Gets the brightness of the ArcGISTiledMapCacheLayer. 
  
   | ||||||||||
| float | 
        getContrast()
        
         Gets the contrast of the ArcGISTiledMapCacheLayer. 
  
   | ||||||||||
| int | 
        getCurrentLevel()
        
         Returns the current the level of detail(LOD). 
  
   | ||||||||||
| float | 
        getGamma()
        
         Gets the gamma of the ArcGISTiledMapCacheLayer. 
  
   | ||||||||||
| boolean | 
        isPopupAllowGeometryUpdate(Graphic graphic)
        
         Returns true if the popup allow the geometry to be updated, potentially based on some information carried by the
  
  
  Graphic provided. | ||||||||||
| boolean | 
        isPopupDeletable(Graphic graphic)
        
         Returns true if the popup created is deletable, potentially based on some information carried by the
  
  
  Graphic provided. | ||||||||||
| boolean | 
        isPopupEditable(Graphic graphic)
        
         Returns true if the popup created is editable, potentially based on some information carried by the  
  
  Graphic
 provided. | ||||||||||
| boolean | 
        isRenderNativeResolution()
        
         Returns true if rendering at native resolution is enabled. 
  
   | ||||||||||
| void | 
        setBrightness(float brightness)
        
         Sets the brightness of the ArcGISTiledMapCacheLayer. 
  
   | ||||||||||
| void | 
        setContrast(float contrast)
        
         Sets the contrast of the ArcGISTiledMapCacheLayer. 
  
   | ||||||||||
| void | 
        setGamma(float gamma)
        
         Sets the gamma of the ArcGISTiledMapCacheLayer. 
  
   | ||||||||||
| void | 
        setRenderNativeResolution(boolean renderNativeResolution)
        
         Sets to true to render the tiled layer in native resolution. 
  
   | ||||||||||
| 
  [Expand]
   Inherited Methods  | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
   
From class
  com.esri.android.map.Layer
 | |||||||||||
   
From class
  java.lang.Object
 | |||||||||||
   
From interface
  com.esri.android.map.popup.PopupLayer
 | |||||||||||
Constructs a tiled layer.
| url | a valid URL string to create the layer | 
|---|---|
| initLayer | layer will be initialized if it is true | 
Constructs a tiled layer.
| initLayer | layer will be initialized if it is true | 
|---|
Cancels all current tile request. This method will cause the tiled layer to fetch new tiles in current extent and redraw.
Gets the brightness of the ArcGISTiledMapCacheLayer.
Gets the contrast of the ArcGISTiledMapCacheLayer.
Returns the current the level of detail(LOD). An negative number will be returned if the layer is not available anymore or the zoom level beyond the tile schema.
Gets the gamma of the ArcGISTiledMapCacheLayer.
Returns true if the popup allow the geometry to be updated, potentially based on some information carried by the
 Graphic provided.
Returns true if the popup created is deletable, potentially based on some information carried by the
 Graphic provided.
Returns true if the popup created is editable, potentially based on some information carried by the Graphic
 provided.
Returns true if rendering at native resolution is enabled.
Sets the brightness of the ArcGISTiledMapCacheLayer.
| brightness | The brightness to set. | 
|---|
Sets the contrast of the ArcGISTiledMapCacheLayer.
| contrast | The contrast to set. | 
|---|
Sets the gamma of the ArcGISTiledMapCacheLayer.
| gamma | The gamma to set. | 
|---|
Sets to true to render the tiled layer in native resolution. This property does not have any effect on low-resolution devices. You can take advantage of high-resolution display to show more tile images on the screen by enabling this property. Enabling this property will use more memory and network bandwidth.
| renderNativeResolution | true to enable rendering at native resolution. | 
|---|