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
caicaicai
卡车调度系统
Commits
7857bff5
Commit
7857bff5
authored
Oct 25, 2022
by
xxx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
4cf569e0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
Map2.vue
src/components/mars3d/Map2.vue
+7
-2
index.vue
src/views/carManagement/carTrajectory/index.vue
+6
-0
No files found.
src/components/mars3d/Map2.vue
View file @
7857bff5
...
...
@@ -172,7 +172,7 @@ export default {
"
vrButton
"
:
false
,
"
fullscreenButton
"
:
true
,
"
navigationHelpButton
"
:
true
,
"
animation
"
:
fals
e
,
"
animation
"
:
tru
e
,
"
timeline
"
:
false
,
"
infoBox
"
:
false
,
"
geocoder
"
:
false
,
...
...
@@ -558,13 +558,18 @@ export default {
changeSpeed
(
num
){
map
.
clock
.
multiplier
=
parseInt
(
num
);
},
//改变时间
changeTime
(
time
){
let
julian_time
=
Cesium
.
JulianDate
.
fromDate
(
new
Date
(
time
));
console
.
log
(
julian_time
);
},
//清除定时器
closeInterval
(){
if
(
currentTimeInterval
){
clearInterval
(
currentTimeInterval
)
currentTimeInterval
=
null
;
}
}
}
,
}
}
</
script
>
...
...
src/views/carManagement/carTrajectory/index.vue
View file @
7857bff5
...
...
@@ -29,6 +29,7 @@
<el-date-picker
v-model=
"trajectoryTimePoint"
type=
"datetime"
@
change=
"trajectoryTimePointFn"
:placeholder=
"trajectoryTimePointPlaceholder"
:picker-options=
"
{
disabledDate (time) {
...
...
@@ -330,6 +331,11 @@ export default {
//console.log(time);
this
.
trajectoryTimePointPlaceholder
=
time
;
},
//轨迹时间点跳转
trajectoryTimePointFn
(){
console
.
log
(
this
.
trajectoryTimePoint
);
//this.$refs.mars3dViewerMapMethod.changeTime(this.trajectoryTimePoint);
},
// 地图构造完成回调
onMapload
(
map
)
{
// 以下为演示代码
...
...
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