#### # new WMSSubLayer(options)

WMS子图层

#### 参数:

名称 | 类型 | 默认值 | 描述
--- | --- | --- | ---
`options` | Object |  | 构造参数
`name` | String |  | 图层名称
`description` | String |  | 图层描述
`queryable` | Boolean |  | 是否参与查询
`spatialReferences` | Array.<SpatialReference> | [] | 图层坐标系列表
`spatialReference` | SpatialReference |  | 图层坐标系
`extent` | Extent |  | 图层范围

查看源代码 common/document/layer/ogc/WMSSubLayer.js, line 5

### 继承关系

- SubLayer

### 成员变量

类型: String

#### # readonly description

图层描述

查看源代码 common/document/layer/ogc/WMSSubLayer.js, line 28

类型: Extent

#### # readonly extent

图层范围

查看源代码 common/document/layer/ogc/WMSSubLayer.js, line 52

类型: String

#### # id

图层id，不给则生成随机id

Inherited From:
  - SubLayer#id

查看源代码 common/document/layer/baseLayer/SubLayer.js, line 22

类型: Layer

#### # layer

父图层对象

Overrides:
  - SubLayer#layer

查看源代码 common/document/layer/baseLayer/SubLayer.js, line 27

类型: String

#### # readonly name

图层名称

查看源代码 common/document/layer/ogc/WMSSubLayer.js, line 22

类型: Boolean

#### # readonly queryable

是否参与查询

查看源代码 common/document/layer/ogc/WMSSubLayer.js, line 34

类型: SpatialReference

#### # readonly spatialReference

图层坐标系

查看源代码 common/document/layer/ogc/WMSSubLayer.js, line 46

类型: Array.<SpatialReference>

#### # readonly spatialReferences

图层坐标系列表

查看源代码 common/document/layer/ogc/WMSSubLayer.js, line 40

类型: Array

#### # sublayers

包含的子图层对象

Inherited From:
  - SubLayer#sublayers

查看源代码 common/document/layer/baseLayer/SubLayer.js, line 32

类型: String

#### # title

图层名称

Inherited From:
  - SubLayer#title

查看源代码 common/document/layer/baseLayer/SubLayer.js, line 37

类型: Boolean

#### # visible

图层可见性

Overrides:
  - SubLayer#visible

查看源代码 common/document/layer/baseLayer/SubLayer.js, line 42

### 方法

#### # clone()

克隆图层对象

Overrides:
  - SubLayer#clone

查看源代码 common/document/layer/ogc/WMSSubLayer.js, line 85

返回值:

克隆后的图层对象

类型: WMSSubLayer

#### # toJSON()

将图层转为json对象

Overrides:
  - SubLayer#toJSON

查看源代码 common/document/layer/ogc/WMSSubLayer.js, line 64

返回值:

josn对象

类型: Object