From 973288ea3095247303b5daac5bc160e10ae2b8ac Mon Sep 17 00:00:00 2001
From: Your Name <123456>
Date: 星期一, 25 七月 2022 18:44:49 +0800
Subject: [PATCH] 3D
---
src/components/Tab/Plot.vue | 2 +-
src/views/doublePreventAction/riskLevelManage/riskSourceManage/index.vue | 2 +-
src/views/doublePreventAction/riskLevelManage/fourColorMap/sixty/index.vue | 3 ++-
src/views/doublePreventAction/riskLevelManage/fourColorMap/oneHundredAndThirty/index.vue | 1 +
4 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/components/Tab/Plot.vue b/src/components/Tab/Plot.vue
index 2a4887e..ff73016 100644
--- a/src/components/Tab/Plot.vue
+++ b/src/components/Tab/Plot.vue
@@ -227,7 +227,7 @@
map.startDraw(
{
type: 'polygon',
- style: { text: name ,color:this.color},
+ style: { text: name ,color:this.color, clampToGround: true},
attr: {
name,
},
diff --git a/src/views/doublePreventAction/riskLevelManage/fourColorMap/oneHundredAndThirty/index.vue b/src/views/doublePreventAction/riskLevelManage/fourColorMap/oneHundredAndThirty/index.vue
index 503dffc..fa3ea0d 100644
--- a/src/views/doublePreventAction/riskLevelManage/fourColorMap/oneHundredAndThirty/index.vue
+++ b/src/views/doublePreventAction/riskLevelManage/fourColorMap/oneHundredAndThirty/index.vue
@@ -74,6 +74,7 @@
map.addModel({
link: 'http://222.92.213.22:8006/b3dm130/tileset.json',
name: '130万吨模型图',
+ modifyZ: -45,
callback: tileset => {
var boundingSphere = tileset.boundingSphere;
var cartographic = Cesium.Cartographic.fromCartesian(
diff --git a/src/views/doublePreventAction/riskLevelManage/fourColorMap/sixty/index.vue b/src/views/doublePreventAction/riskLevelManage/fourColorMap/sixty/index.vue
index a7c583d..c0e4e5e 100644
--- a/src/views/doublePreventAction/riskLevelManage/fourColorMap/sixty/index.vue
+++ b/src/views/doublePreventAction/riskLevelManage/fourColorMap/sixty/index.vue
@@ -75,6 +75,7 @@
map.addModel({
link: 'http://222.92.213.22:8006/b3dm60/tileset.json',
name: '60万吨模型图',
+ modifyZ: -1340,
callback: tileset => {
var boundingSphere = tileset.boundingSphere;
var cartographic = Cesium.Cartographic.fromCartesian(
@@ -196,7 +197,7 @@
html:
"<div class='popup-wrapper'>" +
attr.name +
- '<br/><br/>XXXXXXXX</div>',
+ '</div>',
position: cartesian3,
anchor: [-170, -80],
});
diff --git a/src/views/doublePreventAction/riskLevelManage/riskSourceManage/index.vue b/src/views/doublePreventAction/riskLevelManage/riskSourceManage/index.vue
index dc01e3b..96c16ee 100644
--- a/src/views/doublePreventAction/riskLevelManage/riskSourceManage/index.vue
+++ b/src/views/doublePreventAction/riskLevelManage/riskSourceManage/index.vue
@@ -498,6 +498,6 @@
padding-bottom: 10px;
}
.analyseUnit_input{
- width:300px;
+ width:200px;
}
</style>
--
Gitblit v1.9.2