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;
}

posted @ 2022-01-20 17:34  haibalai  阅读(32)  评论(0编辑  收藏  举报