| | |
| | | const list = MaxInfluenceAreaList.value; |
| | | list.forEach((item, index) => { |
| | | const geosjon = geomToGeoJSON(item.geom); |
| | | Cesium.GeoJsonDataSource.load(geosjon).then((dataSource) => { |
| | | Cesium.GeoJsonDataSource.load(geosjon, { |
| | | stroke: Cesium.Color.RED, // 边框颜色 |
| | | strokeWidth: 2, // 边框宽度 |
| | | fill: Cesium.Color.RED.withAlpha(0.5), // 填充颜色(带透明度) |
| | | }).then((dataSource) => { |
| | | viewer.dataSources.add(dataSource); |
| | | dataSources.push(dataSource); |
| | | }); |
| | |
| | | checkedKeys.value = ["避险点"]; |
| | | showDebuffDetail.value = true; |
| | | getTimeMarkers(); |
| | | |
| | | } |
| | | } |
| | | function openDetail() { |