Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
乳
乳山瑞博-大屏
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xinzhedeai
乳山瑞博-大屏
Commits
cda33f02
Commit
cda33f02
authored
Jan 24, 2025
by
xinzhedeai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update from lcl
parent
81bd35b9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
+10
-9
request.js
src/utils/request.js
+1
-1
index.vue
src/views/Screen/index.vue
+9
-8
No files found.
src/utils/request.js
View file @
cda33f02
...
...
@@ -8,7 +8,7 @@ import Config from '@/settings'
// 使请求头可以携带cookie
axios
.
defaults
.
withCredentials
=
true
;
//var baseURL = (VUE_APP_API.ServiceURL || process.env.VUE_APP_LOCAL_API) + '/';
//
var baseURL = (VUE_APP_API.ServiceURL || process.env.VUE_APP_LOCAL_API) + '/';
var
baseURL
=
process
.
env
.
NODE_ENV
===
'
development
'
?
process
.
env
.
VUE_APP_LOCAL_API
+
'
/
'
:
(
VUE_APP_API
.
ServiceURL
||
process
.
env
.
VUE_APP_LOCAL_API
)
+
'
/
'
;
...
...
src/views/Screen/index.vue
View file @
cda33f02
...
...
@@ -681,7 +681,7 @@ export default {
};
m
.
initDeviceVisual
=
function
(){
//
m.openVisual();
m
.
openVisual
();
setTimeout
(()
=>
{
m
.
createModel
();
...
...
@@ -691,12 +691,12 @@ export default {
// 视角
m
.
openVisual
=
function
(){
fg3d
.
Assist
.
flyToLnglat
({
longitude
:
'
1
14.15302607708257
'
,
latitude
:
'
3
5.67376649387661
'
,
height
:
'
714.9822516823059
'
,
heading
:
'
5.843543111393644
'
,
pitch
:
'
-0.28821513593203796
'
,
roll
:
'
6.283179332387251
'
,
longitude
:
'
1
21.712245
'
,
latitude
:
'
3
6.96346
'
,
height
:
'
1000
'
,
heading
:
'
0
'
,
pitch
:
Cesium
.
Math
.
toRadians
(
-
45
)
,
//
roll:'6.283179332387251',
duration
:
1.5
,
});
};
...
...
@@ -1960,6 +1960,7 @@ export default {
// 去除版权信息
viewer
.
_cesiumWidget
.
_creditContainer
.
style
.
display
=
"
none
"
;
var
path
=
process
.
env
.
VUE_APP_D3Tileset
+
'
/tileset.json
'
;
console
.
log
(
'
path
'
,
path
)
var
localTile
=
viewer
.
scene
.
primitives
.
add
(
new
Cesium
.
Cesium3DTileset
({
url
:
path
,
//maximumScreenSpaceError:1,
...
...
@@ -2049,7 +2050,7 @@ export default {
},
setView
:
function
(
viewer
){
viewer
.
camera
.
setView
({
destination
:
Cesium
.
Cartesian3
.
fromDegrees
(
1
14.14410090364396
,
35.68737800343469
,
438.5633622755695
),
destination
:
Cesium
.
Cartesian3
.
fromDegrees
(
1
21.712245
,
36.86346
,
200
),
orientation
:{
// 指向
heading
:
6.048855026902075
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment