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