美文网首页
cesium 图层构建的那些事 (二)

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

作者: haibalai | 来源:发表于2022-04-27 18:32 被阅读0次

说完构建元组

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

相关文章

网友评论

      本文标题:cesium 图层构建的那些事 (二)

      本文链接:https://www.haomeiwen.com/subject/ueylyrtx.html