public class LayerDrawingOptions
extends com.google.gwt.core.client.JavaScriptObject
Modifier and Type | Method and Description |
---|---|
static LayerDrawingOptions |
create()
Creates a new LayerDrawingOptions object.
|
static LayerDrawingOptions |
create(com.google.gwt.core.client.JavaScriptObject jso)
Creates a new LayerDrawingOptions object.
|
Renderer |
getRenderer()
The renderer to use for the dynamic layer.
|
double |
getTransparency()
The transparency of the layer.
|
boolean |
scaleSymbols()
Determines if the layer renders the symbols based on scale.
|
void |
setRenderer(Renderer renderer)
Set the renderer to use for the dynamic layer.
|
void |
setScaleSymbols(boolean scaleSymbols)
Set scaleSymbols parameter.
|
void |
setTransparency(double transparency)
Set the transparency of the layer.
|
boolean |
showLabels()
Determines if labels are displayed.
|
void |
showLabels(boolean showLabels)
Set the showLabels parameter.
|
com.google.gwt.core.client.JavaScriptObject |
toJson()
Converts object to its ArcGIS Server JSON representation.
|
public static LayerDrawingOptions create()
public static LayerDrawingOptions create(com.google.gwt.core.client.JavaScriptObject jso)
jso
- - JSON object representing the LayerDrawingOptions.public final Renderer getRenderer()
public final void setRenderer(Renderer renderer)
renderer
- - The renderer to use for the dynamic layer.public final boolean scaleSymbols()
public final void setScaleSymbols(boolean scaleSymbols)
scaleSymbols
- - Determines if the layer renders the symbols based on
scale. When false the layer does not render the symbols based on scale.public final boolean showLabels()
public final void showLabels(boolean showLabels)
showLabels
- - Determines if labels are displayed. When false, labels for the
layer are not displayed.public final double getTransparency()
public final void setTransparency(double transparency)
transparency
- - The transparency of the layer. Values range from 0 to 1.0 where 0 is
100% transparent and 1 has no transparency.public final com.google.gwt.core.client.JavaScriptObject toJson()