Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
NewTruckTerminalSyetem
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
SQL_Mou
NewTruckTerminalSyetem
Commits
25677ded
Commit
25677ded
authored
Nov 14, 2022
by
xxx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
7d1cde86
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Map.vue
src/components/mars3d/Map.vue
+2
-2
index.vue
src/views/MLargeScreen/index.vue
+1
-1
No files found.
src/components/mars3d/Map.vue
View file @
25677ded
...
...
@@ -259,11 +259,11 @@ export default {
httpGet
(
carRealTimeLocationQuery2
,{
name
:
equipmentName
}).
then
((
res
)
=>
{
if
(
res
.
data
){
graphicLayer4
.
eachGraphic
((
graphic
)
=>
{
graphic
.
addDynamicPosition
(
Cesium
.
Cartesian3
.
fromDegrees
(
res
.
data
.
location
.
x
,
res
.
data
.
location
.
y
,
1000
),
1
)
graphic
.
addDynamicPosition
(
Cesium
.
Cartesian3
.
fromDegrees
(
res
.
data
.
location
.
x
,
res
.
data
.
location
.
y
,
1000
),
2
)
})
}
else
{
graphicLayer4
.
eachGraphic
((
graphic
)
=>
{
graphic
.
addDynamicPosition
(
Cesium
.
Cartesian3
.
fromDegrees
(
that
.
defaultjd
,
that
.
defaultwd
,
1000
),
1
)
graphic
.
addDynamicPosition
(
Cesium
.
Cartesian3
.
fromDegrees
(
that
.
defaultjd
,
that
.
defaultwd
,
1000
),
2
)
})
}
});
...
...
src/views/MLargeScreen/index.vue
View file @
25677ded
...
...
@@ -366,7 +366,7 @@ export default {
let
LoaObj1xy
=
{};
//判断该车是否在行驶状态
let
drivingDistance
=
that
.
getDistanceIndex
(
that
.
navigatorXY
.
y
,
that
.
navigatorXY
.
x
,
position
.
coords
.
latitude
,
position
.
coords
.
longitude
);
//
console.log(drivingDistance);
console
.
log
(
drivingDistance
);
if
(
drivingDistance
<=
1
){
that
.
leftBtnDisable
=
true
;
}
else
{
...
...
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