public static class GraphicsLayer.Options
extends com.google.gwt.core.client.JavaScriptObject
Modifier and Type | Method and Description |
---|---|
static GraphicsLayer.Options |
create() |
void |
setDisplayOnPan(boolean displayOnPan) |
void |
setId(java.lang.String id) |
void |
setOpacity(double opacity) |
void |
setVisible(boolean visible) |
public static final GraphicsLayer.Options create()
public final void setDisplayOnPan(boolean displayOnPan)
displayOnPan
- - When true, graphics are displayed during panning. When false, the graphics are turned off
during pan movement. Setting to false may improve performance in Internet Explorer. The default is true.public final void setId(java.lang.String id)
id
- - Id to assign to the layer. If not assigned, esri.Map assigns value.public final void setOpacity(double opacity)
opacity
- - Initial opacity or transparency of layer. Values range from 0.0 to 1.0, where 0.0 is 100% transparent
and 1.0 has no transparency. The default value is 1.0. Not supported in Internet Explorer.public final void setVisible(boolean visible)
visible
- - Initial visibility of the layer. Default is true.