|
@@ -89,7 +89,7 @@
|
|
|
<div class="toolbar-item" @click="showWidget('clearAll')">
|
|
|
<i class="iconfont minsize icon-shanchu"></i>
|
|
|
<span class="title">
|
|
|
- 清除所有
|
|
|
+ 清除
|
|
|
</span>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -214,9 +214,39 @@
|
|
|
this.closePopup()
|
|
|
this.$parent.$refs.refviewerlabel.isshow = true
|
|
|
} else if (type == "clearAll") {//清除所有
|
|
|
- jt3d.CommonTools.clear();
|
|
|
jt3d.DrawToolsEdit.Clear();
|
|
|
jt3d.DrawMilitaryPlot.clearAll();
|
|
|
+
|
|
|
+ //清除测量
|
|
|
+ jt3d.CommonTools.clear();
|
|
|
+ this.$parent.$refs._refMeasure.currentIndex = -1;
|
|
|
+ if (this.$parent.$refs._refMeasure.popup) {
|
|
|
+ this.$parent.$refs._refMeasure.popup.close();
|
|
|
+ }
|
|
|
+
|
|
|
+ //移除光照分析
|
|
|
+ if (!jt3d.statusBar.show) {
|
|
|
+ jt3d.statusBar.show = true;
|
|
|
+ }
|
|
|
+ jt3d.SpatialAnalysis.SunshineShadow.remove();
|
|
|
+
|
|
|
+ //移除剖面分析结果
|
|
|
+ this.$parent.closeDrawerSectionAnalysis();
|
|
|
+
|
|
|
+ //清除坐标定位
|
|
|
+ this.$parent.$refs._refCoordsTool.empty();
|
|
|
+
|
|
|
+ //清除空间分析
|
|
|
+ this.$parent.$refs._refAnalysisSpace.init();
|
|
|
+
|
|
|
+ //清除地形分析
|
|
|
+ this.$parent.$refs._refAnalysisTerrain.init();
|
|
|
+
|
|
|
+ //还原左键单击事件
|
|
|
+ this.$parent.$refs.refMap3d.clickEntity(jt3d);
|
|
|
+
|
|
|
+ /* 开启地形检测 必须开启 否则会导致获取地形高度时异常 导致鼠标移动时位置哆嗦 */
|
|
|
+ jt3d._viewer.scene.globe.depthTestAgainstTerrain = true;
|
|
|
}else {
|
|
|
this.closePopup()
|
|
|
this.$parent.showbasicLayer = true
|
|
@@ -359,7 +389,7 @@
|
|
|
.toolbars {
|
|
|
position: absolute;
|
|
|
top: 80rem;
|
|
|
- width: 580rem;
|
|
|
+ width: 540rem;
|
|
|
right: 20rem;
|
|
|
cursor: pointer !important;
|
|
|
padding: 0rem !important;
|