Stormy 雷电
演练场
引入
ts
import { Stormy } from "@m-tech/gis-core";
const stormy = new Stormy();
stormy.addToViewer(viewer);入参
| 参数名称 | 类型 | 必填 | 默认值 | 描述 |
|---|---|---|---|---|
| id | String | 否 | 自动生成的 Guid | 特效唯一标识 |
属性
| 属性 | 类型 | 读/写 | 描述 |
|---|---|---|---|
id | String | 只读 | 特效唯一标识 |
示例
ts
import { Stormy } from "@ty-sdk/ty-gis-core";
// 创建雷电特效
const stormy = new Stormy();
// 添加到视图
stormy.addToViewer(viewer);