cesium 图层构建的那些事 (二)

2022-04-27  本文已影响0人  haibalai

说完构建元组

我们在构建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

上一篇 下一篇

猜你喜欢

热点阅读