类名 WMSSubLayer

# 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

继承关系

成员变量

String

# readonly description

图层描述

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

String

# id

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

Inherited From:

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

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:

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

String

# title

图层名称

Inherited From:

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

Boolean

# visible

图层可见性

Overrides:

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

方法

# clone()

克隆图层对象

Overrides:

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

克隆后的图层对象

WMSSubLayer

# toJSON()

将图层转为json对象

Overrides:

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

josn对象

Object
构造函数
成员变量
方法
事件