|
||||||||||
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.DynamicLayer
public abstract class DynamicLayer
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 |
---|
public DynamicLayer(String url)
url
- a service URLMethod Detail |
---|
public void recycle()
Layer
recycle
in class Layer
public void cancelPendingTasks()
public float getBrightness()
public void setBrightness(float brightness)
brightness
- The brightness to set.public float getContrast()
public void setContrast(float contrast)
contrast
- The contrast to set.public float getGamma()
public void setGamma(float gamma)
gamma
- The gamma to set.public void refresh()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |