GroupLayer

Glodon.Bimface.Layer~ GroupLayer

Glodon.Bimface.Layer.GroupLayer

Constructor

new Glodon.Bimface.Layer.GroupLayer(config)

Parameters:
Name Type Description
config Object

图层配置

Methods

addLayer(layer)

添加一个图层

Parameters:
Name Type Description
layer Object

新构造的图层对象,支持GroupLayer、TileLayer、BIMLayer等格式

hide()

隐藏图层(会隐藏本GroupLayer所有子图层)

show()

显示图层(会显示本GroupLayer所有子图层)