北京经济技术开发区经开区虚拟城市项目-【前端】-移动端Web
lixuliang
2024-01-24 3e9cd0d3d92e18de9ec1a33da835e2e9787cbd93
更新
已修改3个文件
23 ■■■■■ 文件已修改
src/components/sideMenu/layerMenu/layerPanel.vue 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/sideMenu/roamPanel/roamPanel.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
static/video/video.html 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/sideMenu/layerMenu/layerPanel.vue
@@ -304,6 +304,24 @@
    },
    // 二维底图选择
    handleEMapClick(result, index) {
      let p = sgworld.Navigate.getCameraInfo();
      let pitch ;
      if (pitch !== -90) {
        pitch = -90;
        sgworld.Navigate.flyToPointsInterest({
          destination: new Cesium.Cartesian3.fromDegrees(
            p.location.lon,
            p.location.lat,
            p.location.height
          ),
          orientation: {
            heading: Cesium.Math.toRadians(0),
            pitch: Cesium.Math.toRadians(pitch),
            roll: Cesium.Math.toRadians(0),
          },
        });
      }
      // 设置相机
      if (result.name == "二维地图") {
        this.changeLayerView(25000, false);
src/components/sideMenu/roamPanel/roamPanel.vue
@@ -152,7 +152,7 @@
          type: 2,
          title: result.name,
          shade: false,
          area: ["100%", 'auto'],
          area: ["100%", '200px'],
          offset: "r",
          skin: "other-class",
          content: SmartEarthRootUrl + "Workers/path/Path.html",
static/video/video.html
@@ -88,10 +88,11 @@
                                res = data.data.url.replace("ws://10.117.5.46:559/", "wss://skyzt.bda.gov.cn:443/")
                            } else if (data.data.url.includes("47")) {
                                res = data.data.url.replace("ws://10.117.5.47:559/", "wss://skyzt.bda.gov.cn:443/")
                            } else if (data.data.url.includes("206")) {
                            } else if (data.data.url.includes("28")) {
                                res = data.data.url.replace("ws://10.117.5.28:559/", "wss://skyzt.bda.gov.cn:443/")//视频最新返回地址
                            }
                            realplay(res);
                        } catch (e) { }
                    }
                });