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
5789a50d
authored
2020-07-28 10:43:07 +0800
by
jikai
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
111
1 parent
60b11e18
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
src/views/Home.vue
src/views/Home.vue
View file @
5789a50
<
template
>
<div
class=
"home"
>
<div
id=
"cesiumContainer"
style=
"width:
1000px; height:600px
"
></div>
<div
id=
"cesiumContainer"
style=
"width:
100%;height:100%;
"
></div>
</div>
</
template
>
<
script
>
...
...
@@ -16,7 +16,9 @@
},
mounted
()
{
Cesium
.
Ion
.
defaultAccessToken
=
this
.
config
.
mapToken
;
var
viewer
=
new
Cesium
.
Viewer
(
'cesiumContainer'
);
var
viewer
=
new
Cesium
.
Viewer
(
'cesiumContainer'
,
{
fullscreenButton
:
true
,
});
},
methods
:
{
...
...
Please
register
or
sign in
to post a comment