11111111
Showing
1 changed file
with
5 additions
and
17 deletions
1 | <template> | 1 | <template> |
2 | <div class="home" v-loading.fullscreen.lock="isFullscreenLoading"> | 2 | <div class="home"> |
3 | <div class="top"> | 3 | <div class="top"> |
4 | <TopTitle></TopTitle> | 4 | <TopTitle></TopTitle> |
5 | </div> | 5 | </div> |
... | @@ -13,7 +13,7 @@ | ... | @@ -13,7 +13,7 @@ |
13 | <div class="rightFunc"> | 13 | <div class="rightFunc"> |
14 | <rightFunc @isReturn='EisReturn' | 14 | <rightFunc @isReturn='EisReturn' |
15 | @enlarge='Eenlarge' | 15 | @enlarge='Eenlarge' |
16 | @narrow='Enarrow' | 16 | @narrow='narrow' |
17 | @coordinate='Ecoordinate' | 17 | @coordinate='Ecoordinate' |
18 | @distance='Edistance' | 18 | @distance='Edistance' |
19 | @area='Earea' | 19 | @area='Earea' |
... | @@ -138,7 +138,6 @@ | ... | @@ -138,7 +138,6 @@ |
138 | // mapPop, | 138 | // mapPop, |
139 | arcgisMap, | 139 | arcgisMap, |
140 | threeMap, | 140 | threeMap, |
141 | |||
142 | allSee, | 141 | allSee, |
143 | ymAnslysis, | 142 | ymAnslysis, |
144 | horizon, | 143 | horizon, |
... | @@ -151,7 +150,9 @@ | ... | @@ -151,7 +150,9 @@ |
151 | }, | 150 | }, |
152 | data() { | 151 | data() { |
153 | return { | 152 | return { |
153 | map: 'threeMap', | ||
154 | viewer: undefined, | 154 | viewer: undefined, |
155 | gisView: undefined, | ||
155 | flyCircle: false, | 156 | flyCircle: false, |
156 | isRoller: false, | 157 | isRoller: false, |
157 | isReturn: false, // 复位 | 158 | isReturn: false, // 复位 |
... | @@ -179,7 +180,6 @@ | ... | @@ -179,7 +180,6 @@ |
179 | 'tjxAnslysis', 'yyAnslysis', 'visualField', 'kgAnalusis'], | 180 | 'tjxAnslysis', 'yyAnslysis', 'visualField', 'kgAnalusis'], |
180 | 181 | ||
181 | addProjectMsg: false, // 建设项目信息表 | 182 | addProjectMsg: false, // 建设项目信息表 |
182 | isFullscreenLoading: false, // 全屏loading | ||
183 | } | 183 | } |
184 | }, | 184 | }, |
185 | mounted() { | 185 | mounted() { |
... | @@ -205,7 +205,7 @@ | ... | @@ -205,7 +205,7 @@ |
205 | this.viewer.scene.layers.find("build1").clearCustomClipBox(); | 205 | this.viewer.scene.layers.find("build1").clearCustomClipBox(); |
206 | this.viewer.scene.layers.find("build2").clearCustomClipBox(); | 206 | this.viewer.scene.layers.find("build2").clearCustomClipBox(); |
207 | } | 207 | } |
208 | ,EisReturn(val) {} | 208 | ,EisReturn(val) {} |
209 | ,Eenlarge() { | 209 | ,Eenlarge() { |
210 | this.viewer.camera.zoomIn(300); | 210 | this.viewer.camera.zoomIn(300); |
211 | } | 211 | } |
... | @@ -259,15 +259,6 @@ | ... | @@ -259,15 +259,6 @@ |
259 | } | 259 | } |
260 | // 环视 | 260 | // 环视 |
261 | ,EroundSee() { | 261 | ,EroundSee() { |
262 | // this.viewer.camera.flyCircleLoop = !!this.viewer.camera.flyCircleLoop; | ||
263 | // var handlerPoint = new Cesium.DrawHandler(this.viewer, Cesium.DrawMode.Point); | ||
264 | // handlerPoint.drawEvt.addEventListener(result => { | ||
265 | // // console.log(result.object._position); | ||
266 | // // {x: -2179734.991212225, y: 4379799.834213645, z: 4092420.9926270735} | ||
267 | // this.viewer.camera.flyCircle({x: -2179734.991212225, y: 4379799.834213645, z: 4092420.9926270735}); | ||
268 | // }); | ||
269 | // handlerPoint.deactivate(); | ||
270 | // handlerPoint.activate(); | ||
271 | (this.flyCircle = !this.flyCircle) ? | 262 | (this.flyCircle = !this.flyCircle) ? |
272 | this.viewer.camera.flyCircle({x: -2179734.991212225, y: 4379799.834213645, z: 4092420.9926270735}) : | 263 | this.viewer.camera.flyCircle({x: -2179734.991212225, y: 4379799.834213645, z: 4092420.9926270735}) : |
273 | this.viewer.camera.stopFlyCircle(); | 264 | this.viewer.camera.stopFlyCircle(); |
... | @@ -509,7 +500,4 @@ | ... | @@ -509,7 +500,4 @@ |
509 | .tjx-anslysis { | 500 | .tjx-anslysis { |
510 | top: 265px; | 501 | top: 265px; |
511 | } | 502 | } |
512 | |||
513 | |||
514 | |||
515 | </style> | 503 | </style> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or sign in to post a comment