类名 IGSVectorTileSubLayer

# new IGSVectorTileSubLayer(options)

IGS矢量瓦片子图层

参数:

名称 类型 默认值 描述
options Object

构造参数

renderer BaseRenderer

渲染样式对象,支持如下渲染样式:
1、单值渲染
2、分段渲染

type String

矢量瓦片子图层的类型

id String

矢量瓦片子图层的id

title String

矢量瓦片子图层的标题

visible Boolean true

图层可见性

layer IGSVectorTileLayer

矢量瓦片父图层

sublayers Array

矢量瓦片子图层

查看源代码 common/document/layer/igserver/IGSVectorTileSubLayer.js, line 5

继承关系

方法

# clone()

克隆图层对象

Overrides:

查看源代码 common/document/layer/igserver/IGSVectorTileSubLayer.js, line 231

克隆后的图层对象

# fromJSON(json)

通过json对象初始化该对象

参数:

名称 类型 描述
json Object

json对象

查看源代码 common/document/layer/igserver/IGSVectorTileSubLayer.js, line 198

# toJSON()

将图层转为json对象

Overrides:

查看源代码 common/document/layer/igserver/IGSVectorTileSubLayer.js, line 214

josn对象

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