com.esri.android.map
Class DynamicLayer

java.lang.Object
  extended by com.esri.android.map.Layer
      extended by com.esri.android.map.DynamicLayer
Direct Known Subclasses:
ArcGISDynamicMapServiceLayer, ArcGISImageServiceLayer

public abstract class DynamicLayer
extends Layer

DynamicLayer is the base class for all map services that contain dynamic layers and can be added to a map. You would work with one of the sub-classes of this abstract class. (for example, ArcGISDynamicMapServiceLayer - used to represent map services that contain dynamic layers).


Constructor Summary
DynamicLayer(String url)
          Constructs a dynamic layer from the service URL.
 
Method Summary
 void cancelPendingTasks()
           
 float getBrightness()
          Gets the brightness of the DynamicLayer.
 float getContrast()
          Gets the contrast of the DynamicLayer.
 float getGamma()
          Gets the gamma of the DynamicLayer.
 void recycle()
          Releases resources referenced by the Layer so that they can be recycled.
 void refresh()
          Invoke this method to fetch the map image from the associated map service and update the MapView.
 void setBrightness(float brightness)
          Sets the brightness of the DynamicLayer.
 void setContrast(float contrast)
          Sets the contrast of the DynamicLayer.
 void setGamma(float gamma)
          Sets the gamma of the DynamicLayer.
 
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

DynamicLayer

public DynamicLayer(String url)
Constructs a dynamic layer from the service URL.

Parameters:
url - a service URL
Method Detail

recycle

public void recycle()
Description copied from class: Layer
Releases resources referenced by the Layer so that they can be recycled.

Overrides:
recycle in class Layer

cancelPendingTasks

public void cancelPendingTasks()

getBrightness

public float getBrightness()
Gets the brightness of the DynamicLayer.

Returns:
Returns the brightness.

setBrightness

public void setBrightness(float brightness)
Sets the brightness of the DynamicLayer.

Parameters:
brightness - The brightness to set.

getContrast

public float getContrast()
Gets the contrast of the DynamicLayer.

Returns:
Returns the contrast.

setContrast

public void setContrast(float contrast)
Sets the contrast of the DynamicLayer.

Parameters:
contrast - The contrast to set.

getGamma

public float getGamma()
Gets the gamma of the DynamicLayer.

Returns:
Returns the gamma.

setGamma

public void setGamma(float gamma)
Sets the gamma of the DynamicLayer.

Parameters:
gamma - The gamma to set.

refresh

public void refresh()
Invoke this method to fetch the map image from the associated map service and update the MapView.



Copyright © 2012. All Rights Reserved.