public static class OpenStreetMapLayer.Options
extends com.google.gwt.core.client.JavaScriptObject
Modifier and Type | Method and Description |
---|---|
static OpenStreetMapLayer.Options |
create() |
void |
setDisplayLevels(int[] levels) |
void |
setId(java.lang.String id) |
void |
setOpacity(double opacity) |
void |
setTileServers(java.lang.String[] tileServers) |
void |
setVisible(boolean visible) |
public static OpenStreetMapLayer.Options create()
public final void setDisplayLevels(int[] levels)
levels
- - An array of levels at which to draw.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.public final void setTileServers(java.lang.String[] tileServers)
tileServers
- - An array of tile serverspublic final void setVisible(boolean visible)
visible
- - Initial visibility of the layer. Default is true.