| Package | com.esri.ags.layers |
| Class | public class LayerInfo |
See also
| Property | Defined by | ||
|---|---|---|---|
| defaultVisibility : Boolean
Default visibility of the layers in the map service.
| LayerInfo | ||
| id : Number
Layer ID assigned by ArcGIS Server for a layer.
| LayerInfo | ||
| name : String
Layer name as defined in the map service.
| LayerInfo | ||
| parentLayerId : Number
If the layer is part of a group layer, it will include the parent ID of the group layer.
| LayerInfo | ||
| subLayerIds : Array
If the layer is a parent layer, it will have one or more sublayers included in an array.
| LayerInfo | ||
| defaultVisibility | property |
public var defaultVisibility:BooleanDefault visibility of the layers in the map service.
| id | property |
public var id:NumberLayer ID assigned by ArcGIS Server for a layer. The topmost layer is 0, and each layer follows sequentially. If a layer is added or removed from the source map document, the ID values will shift accordingly.
| name | property |
public var name:StringLayer name as defined in the map service.
| parentLayerId | property |
public var parentLayerId:NumberIf the layer is part of a group layer, it will include the parent ID of the group layer. Otherwise, the value is -1. If a layer is added or removed from the source map document, the ID values will shift accordingly.
| subLayerIds | property |
public var subLayerIds:ArrayIf the layer is a parent layer, it will have one or more sublayers included in an array. Otherwise, the value is null. If a layer is added or removed from the source map document, the ID values will shift accordingly.