|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.core.internal.value.LayerInfo
com.esri.core.internal.value.DynamicLayerInfo
public class DynamicLayerInfo

This class represents a single sublayer in a dynamic map service and allows the user to set a new renderer and a new data source for the sublayer.
| Constructor Summary | |
|---|---|
DynamicLayerInfo(int layerId)
Instantiates a new dynamic layer info for the given layer id in a dynamic map service. |
|
DynamicLayerInfo(int layerId,
DrawingInfo drawingInfo)
Instantiate a new dynamic layer info for the given layer id with the given drawing info. |
|
DynamicLayerInfo(int layerId,
DrawingInfo drawingInfo,
LayerSource source)
Instantiates a new dynamic layer info for the given layer id in a dynamic map service. |
|
| Method Summary | |
|---|---|
DrawingInfo |
getDrawingInfo()
Gets the drawing info. |
TimeOptions |
getLayerTimeOptions()
Get the current layer time options. |
void |
resetToDefault()
Use this method to reset this instance back to default values. |
void |
setDrawingInfo(DrawingInfo drawingInfo)
Sets the drawing info. |
void |
setLayerTimeOptions(TimeOptions layerTimeOptions)
Set the current layer time options. |
protected void |
toJson(org.codehaus.jackson.JsonGenerator node)
|
| Methods inherited from class com.esri.core.internal.value.LayerInfo |
|---|
getDefinitionExpression, getId, getLayerSource, setDefinitionExpression, setId, setLayerSource, toJson |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DynamicLayerInfo(int layerId,
DrawingInfo drawingInfo,
LayerSource source)
DrawingInfo will set the renderer used by the service to renderer the sublayer. The given
LayerSource will be used to set a new data source for the sublayer.
layerId - the layer id this instance corresponds todrawingInfo - the drawing infosource - the data sourcepublic DynamicLayerInfo(int layerId)
DynamicLayerInfoCollection class to reorder layers in a dynamic map
service without changing their renderer or data source.
layerId - the layer id this instance corresponds to
public DynamicLayerInfo(int layerId,
DrawingInfo drawingInfo)
layerId - sublayer to associate this dynamic layer info withdrawingInfo - drawing info for the layer| Method Detail |
|---|
public void resetToDefault()
public DrawingInfo getDrawingInfo()
public void setDrawingInfo(DrawingInfo drawingInfo)
drawingInfo - the new drawing infopublic TimeOptions getLayerTimeOptions()
public void setLayerTimeOptions(TimeOptions layerTimeOptions)
ArcGISDynamicMapServiceLayer TimeExtent property or not, whether to draw the layer
features cumulatively or not and the time offsets for the layer.
layerTimeOptions -
protected void toJson(org.codehaus.jackson.JsonGenerator node)
throws Exception
toJson in class LayerInfoIOException
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||