Packagecom.esri.aws.services
Classpublic class LayerInfo

LayerInfo is used to create the MapImageInfo object and wrap the SOAP responses from the MapImageService.



Public Properties
 PropertyDefined 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
Property detail
legendsproperty
public var legends:Array

The 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.

nameproperty 
public var name:String

The name of the layer.

visibilityproperty 
public var visibility:Boolean

The 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.