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
6a1692f3
authored
2020-08-11 17:20:05 +0800
by
jikai
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
111111
1 parent
bd58608e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
src/views/Home.vue
src/views/Home.vue
View file @
6a1692f
...
...
@@ -55,9 +55,9 @@
<!--
<div
class=
"leftAssert"
>
<leftAssert
@
EFadb=
'EFadb'
@
EKgfz=
'EKgfz'
@
EGzfx=
'EGzfx'
></leftAssert>
</div>
-->
<div
class=
"mapPop"
>
<
!--
<
div
class=
"mapPop"
>
<mapPop></mapPop>
</div>
</div>
-->
<div
class=
"allSee"
v-if=
'allSee'
>
<allSee
@
closePop=
'closePop'
></allSee>
</div>
...
...
@@ -196,10 +196,10 @@
},
mounted
()
{
this
.
viewer
=
new
Cesium
.
Viewer
(
'cesiumContainer'
);
//
this.viewer.imageryLayers.addImageryProvider(new Cesium.TiandituImageryProvider({
//
credit : new Cesium.Credit('天地图全球影像服务'),
//
token: URL_CONFIG.TOKEN_TIANDITU
//
}));
this
.
viewer
.
imageryLayers
.
addImageryProvider
(
new
Cesium
.
TiandituImageryProvider
({
credit
:
new
Cesium
.
Credit
(
'天地图全球影像服务'
),
token
:
URL_CONFIG
.
TOKEN_TIANDITU
}));
let
scene
=
this
.
viewer
.
scene
scene
.
shadowMap
.
darkness
=
1.275
;
//设置第二重烘焙纹理的效果(明暗程度)
scene
.
skyAtmosphere
.
brightnessShift
=
0.4
;
...
...
Please
register
or
sign in
to post a comment