Cesium.when(model, function (layers) {
console.log(layers)
layer1 = viewer.scene.layers.find('植物_萨伏伊别墅模型@model');
layer1.setQueryParameter({
url: url,
dataSourceName: "model",
dataSetName: "植物_萨伏伊别墅模型",
isMerge: true,
keyWord: 'SmID'
});
console.log(111)
});
直接在控制台输出参数layers会只有一个图层,我想要寻找某个特定的图层 ,他却输出undefined