Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
刘远
/
3d_dc
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
1
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
346061cb
authored
2020-08-17 17:46:07 +0800
by
jikai
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
11111111
1 parent
f47e11be
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
17 deletions
src/views/Home.vue
src/views/Home.vue
View file @
346061c
<
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=
'
E
narrow'
@
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
...
...
Please
register
or
sign in
to post a comment