圆形扩散效果
| Name | Type | Description | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
参数选项:
|
Example:
var effect = new Cesium.GeoCircleSpreadEffect({
viewer: viewer,
lineWidth: 4.0,
color: Cesium.Color.RED,
speed: 0.5,
repeat: true,
center: [108.959430, 34.219269, 423.926807]
});
Demo:
Methods
从视图中移除相关实体对象
获取圆形扩散特效实体颜色
| Name | Type | Description |
|---|---|---|
color |
Color | 颜色 |
获取圆形扩散半径
Returns:
radius 圆形半径
设置圆形扩散中心点
| Name | Type | Description |
|---|---|---|
center |
Array | 圆形中心点 |
设置圆形扩散特效实体颜色
| Name | Type | Description |
|---|---|---|
color |
Color | 颜色 |
设置圆形扩散半径
Returns:
radius 圆形半径