| Package | com.esri.aws.services |
| Class | public class LayerInfo |
| Property | Defined by | ||
|---|---|---|---|
| legends : Array
The name of the layer class and the URL of the layer class symbol swatch.
| LayerInfo | ||
| name : String
The name of the layer.
| LayerInfo | ||
| visibility : Boolean
The visibility of the layer.
| LayerInfo | ||
| legends | property |
public var legends:ArrayThe name of the layer class and the URL of the layer class symbol swatch. Use this information to build a custom legend. One LayerLegend per layer class is included in the array.
| name | property |
public var name:StringThe name of the layer.
| visibility | property |
public var visibility:BooleanThe visibility of the layer. Possible values are "default", "not available", or "on". The value "default" indicates the layer is currently not visible, but could be made visible at the current scale. The value "not available" indicates the layer is not visible and cannot be made visible at the current scale due to the layer's minimum and maximum scale settings. The value "on" indicates the layer is currently visible.