public class DynamicLayerInfo extends LayerInfo
Modifier and Type | Method and Description |
---|---|
static DynamicLayerInfo |
create()
Creates a new DynamicLayerInfo object.
|
static DynamicLayerInfo |
create(com.google.gwt.core.client.JavaScriptObject jso)
Creates a new DynamicLayerInfo object.
|
LayerMapSource |
getSourceAsLayerMapSource()
The source for the dyamic layer can be either a LayerMapSource or LayerDataSource.
|
LayerDataSource |
getSourceLayerDataSource()
The source for the dyamic layer can be either a LayerMapSource or LayerDataSource.
|
void |
setSource(LayerDataSource source)
Set the data source.
|
void |
setSource(LayerMapSource source)
Set the data source.
|
com.google.gwt.core.client.JavaScriptObject |
toJson()
Converts object to its ArcGIS Server JSON representation.
|
getId, getLayerType, getLegendInfo, getMaxScale, getMinScale, getName, getParentLayerId, getSubLayerIds, hasDefaultVisibility, hasLegendInfo, setDefaultVisibility, setId, setMaxScale, setMinScale, setName, setParentLayerId, setSubLayerIds
public static DynamicLayerInfo create()
public static DynamicLayerInfo create(com.google.gwt.core.client.JavaScriptObject jso)
jso
- - JSON object representing the DynamicLayerInfo.public final LayerMapSource getSourceAsLayerMapSource()
public final LayerDataSource getSourceLayerDataSource()
public final void setSource(LayerMapSource source)
source
- - The source for the dyamic layer. Requires ArcGIS Server 10.1 service.public final void setSource(LayerDataSource source)
source
- - The source for the dyamic layer. Requires ArcGIS Server 10.1 service.public final com.google.gwt.core.client.JavaScriptObject toJson()