S3MGroupLayer

new Cesium.S3MGroupLayer(options)

图层组类
Name Type Description
options Object 参数对象
Name Type Description
scene Scene 对象
name String 图层名称

Members

size : Number

图层个数

Methods

getSubLayer(name)Promise

var promise = scene.layers.findLayerInGroups(name); promise.then(function(layer) { console.log(layer); layer.visible = !layer.visible; });
Name Type Description
name S3M图层的名称
Returns: