|
|
@@ -121,6 +121,8 @@ import sl from "@/assets/windimgs/fanSvg/sl.svg";
|
|
|
import bwzhu from "@/assets/windimgs/fanSvg/bwzhu.svg";
|
|
|
import bwshan from "@/assets/windimgs/fanSvg/bwshan.png";
|
|
|
|
|
|
+import benchmark from "@/assets/cesiumImg/benchmark.png"
|
|
|
+
|
|
|
import windHome from "@/components/windHome/index.vue";
|
|
|
import windPro from "@/components/windProDetail/windProblem.vue";
|
|
|
import ModelUnpack from "@/components/modelUnpack.vue";
|
|
|
@@ -147,6 +149,7 @@ export default {
|
|
|
data() {
|
|
|
return {
|
|
|
loading: true,
|
|
|
+ benchmark,
|
|
|
showAllWindFromStation: [],
|
|
|
restLatLon: [
|
|
|
{
|
|
|
@@ -435,7 +438,7 @@ export default {
|
|
|
},
|
|
|
onError: (error) => {
|
|
|
console.log("❌ WebSocket 错误:", error);
|
|
|
- return;
|
|
|
+ return
|
|
|
if (stationName === "MYFDC") {
|
|
|
fjLonLatJson = JSON.parse(JSON.stringify(fjMYLonLatJson));
|
|
|
} else if (stationName === "JNWHZ") {
|
|
|
@@ -699,6 +702,16 @@ export default {
|
|
|
btn.addEventListener("click", function (event) {
|
|
|
entityxy.show = !entityxy.show;
|
|
|
});
|
|
|
+ if (val.bgFj === "1") {
|
|
|
+ const benchmark = viewer.entities.add({
|
|
|
+ position,
|
|
|
+ billboard: {
|
|
|
+ image: that.benchmark,
|
|
|
+ scale: 0.8,
|
|
|
+ pixelOffset: new Cesium.Cartesian2(50, -25)
|
|
|
+ } // 偏移避免重叠
|
|
|
+ });
|
|
|
+ }
|
|
|
|
|
|
const entity = viewer.entities.add({
|
|
|
id: ids,
|