wangjuncheng
2025-05-15 f16045cde17854377084335c478e3cae0d08d6b8
src/views/GisView.vue
@@ -27,7 +27,7 @@
  // 1. 设置初始时间
  const date = new Date(2025, 3, 11, 12, 0, 0, 0);
  const julianDate = SmartEarth.Cesium.JulianDate.fromDate(date);
  const julianDate = SmartEarth.Cesium.JulianDate.fromDate(date);
  // earthCtrl.viewer.clock.currentTime = julianDate;
  // 2. 配置时钟选项,禁止自动推进时间
@@ -162,10 +162,6 @@
    },
  });
  console.log(
    flyToHeight.value,
    "flyToHeight.value flyToHeight.value flyToHeight.value "
  );
}
EventBus.on("close-selectArea", () => {
@@ -448,7 +444,7 @@
  initMap();
  // 在你的初始化代码中调用这个函数
  addCityPolygon();
  initHandler();
  // initHandler();
  // initView()
  loadAreaPolygon("/json/nsl_area.geojson");
  loadAreaPolygonAll("/json/geometry.json", true);
@@ -472,8 +468,8 @@
  position: absolute;
}
// // 修改指南针位置
// /deep/ .compass {
//     right: 128px !important;
//     top: 112px;
// }
/deep/ .compass {
    right: 128px !important;
    top: 112px;
}
</style>