cesium 图层构建的那些事 (二)
说完构建元组
我们在构建Layer 基础类, 这个基础定义了show flyto 可以用方法
```
import { Tuple } from "./Tuple";
export abstract class Layer extends Tuple{
type: String = "Layer";
name: String = "";
protected cesiumLayer: any = null;
constructor(name:String){
super();
this.name = name;
}
set show(value: boolean) {
this.cesiumLayer.show = value;
}
更多参考 https://xiaozhuanlan.com/topic/0657931284