Browse Source

地图落点贴地属性设置

wang_xy 2 tuần trước cách đây
mục cha
commit
b4b1155ec3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/components/supermap-2.5d.vue

+ 1 - 1
src/components/supermap-2.5d.vue

@@ -861,7 +861,7 @@ export default {
         })
         that.markerboxEntity.push(marker)
       }
-      that.viewer.scene.globe.depthTestAgainstTerrain = false
+      that.viewer.scene.globe.depthTestAgainstTerrain = true
       // that.createLeftClickDescription()
       that.createRightClickDescription()
     },