Description
Class added v2.1
The WMS layer information class defines and provides information about layers in a WMS service.
Samples
Search for
samples that use this class.
Class hierarchy
esri.layers.WMSLayerInfo
Constructor
Properties
| description |
String
|
The layer description defines the value of the Abstract capabilities property. |
| extent |
Extent
|
The layer extent. |
| name |
String
|
The layer name. The layer name must be included in the visibleLayers list. |
| title |
String
|
The layer title. |
Constructor Detail
esri.layers.WMSLayerInfo(layer)
Creates a new WMSLayerInfo object.
Parameters:
|
<Object>
layer |
Required |
WMSLayerInfo layer object
An object with the following properties, title is required the rest of the properties are optional.
{
<String> name,
<String> title,
<String> description,
<esri.Geometry.Extent> extent
}
|
Code snippets:
var layer = new esri.layers.WMSLayerInfo({name:'1',title:'Rivers'});
Properties Detail
The layer description defines the value of the Abstract capabilities property.
The layer name. The layer name must be included in the visibleLayers list.