showAndCloseLayer(Num,LayerArr){
debugger
console.log(window.viewer.imageryLayers._layers);
window.viewer.imageryLayers._layers.forEach(item =>{
if (LayerArr.indexOf(item.id) != -1){
item.setVisibleInViewport(1,true)
}else{
item.setVisibleInViewport(1,false)
}
})
},
没有能控制各个图层的显隐