346061cb by jikai

11111111

1 parent f47e11be
<template>
<div class="home" v-loading.fullscreen.lock="isFullscreenLoading">
<div class="home">
<div class="top">
<TopTitle></TopTitle>
</div>
......@@ -13,7 +13,7 @@
<div class="rightFunc">
<rightFunc @isReturn='EisReturn'
@enlarge='Eenlarge'
@narrow='Enarrow'
@narrow='narrow'
@coordinate='Ecoordinate'
@distance='Edistance'
@area='Earea'
......@@ -138,7 +138,6 @@
// mapPop,
arcgisMap,
threeMap,
allSee,
ymAnslysis,
horizon,
......@@ -151,7 +150,9 @@
},
data() {
return {
map: 'threeMap',
viewer: undefined,
gisView: undefined,
flyCircle: false,
isRoller: false,
isReturn: false, // 复位
......@@ -179,7 +180,6 @@
'tjxAnslysis', 'yyAnslysis', 'visualField', 'kgAnalusis'],
addProjectMsg: false, // 建设项目信息表
isFullscreenLoading: false, // 全屏loading
}
},
mounted() {
......@@ -205,7 +205,7 @@
this.viewer.scene.layers.find("build1").clearCustomClipBox();
this.viewer.scene.layers.find("build2").clearCustomClipBox();
}
,EisReturn(val) {}
,EisReturn(val) {}
,Eenlarge() {
this.viewer.camera.zoomIn(300);
}
......@@ -259,15 +259,6 @@
}
// 环视
,EroundSee() {
// this.viewer.camera.flyCircleLoop = !!this.viewer.camera.flyCircleLoop;
// var handlerPoint = new Cesium.DrawHandler(this.viewer, Cesium.DrawMode.Point);
// handlerPoint.drawEvt.addEventListener(result => {
// // console.log(result.object._position);
// // {x: -2179734.991212225, y: 4379799.834213645, z: 4092420.9926270735}
// this.viewer.camera.flyCircle({x: -2179734.991212225, y: 4379799.834213645, z: 4092420.9926270735});
// });
// handlerPoint.deactivate();
// handlerPoint.activate();
(this.flyCircle = !this.flyCircle) ?
this.viewer.camera.flyCircle({x: -2179734.991212225, y: 4379799.834213645, z: 4092420.9926270735}) :
this.viewer.camera.stopFlyCircle();
......@@ -509,7 +500,4 @@
.tjx-anslysis {
top: 265px;
}
</style>
\ No newline at end of file
......