wangjuncheng
2 天以前 cf7752d995e09d48eca9a1ca5634a9e71ae46553
透明度0 修改模型数据路径
已修改2个文件
5 ■■■■■ 文件已修改
src/components/tools/LayerTree.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/utils/water.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/tools/LayerTree.vue
@@ -191,7 +191,8 @@
function handleModelLayer(checked) {
  if (checked) {
    addTileset(
      "http://106.120.22.26:9103/gisserver/c3dserver/sunhugou3d/tileset.json"
      // "http://106.120.22.26:9103/gisserver/c3dserver/sunhugou3d/tileset.json"
      "http://192.168.37.61:9004/tile/model/service/Iakp0nhx/tileset.json?labtoken=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiItMSxUaHUgQXByIDE4IDE1OjMwOjU3IENTVCAyMDI0In0.j_YKsCRsIQtpgOWfFvMwAP65Rlx9uXyVte_xkE95Vdo"
    )
      .then((model) => {
        treeMap.set("模型数据", model);
src/utils/water.js
@@ -85,7 +85,7 @@
    color: SmartEarth.Cesium.Color.fromCssColorString("#D4F2E7"),
    loop: false,
    callback: timeCallback,
    alphaByDepth: -0.3,
    alphaByDepth: 0,
    waterHeightLevels,
    colorRender,
    sizeIndex: 0,