Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
holo-web
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
xinkong
holo-web
Commits
c3a14e9b
Commit
c3a14e9b
authored
Jun 21, 2024
by
ninglx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wj-manage-web 历史轨迹播放问题修正
parent
6ff4bafe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
trackSwitcher.vue
wj-manage-web/src/views/situation/trackSwitcher.vue
+6
-6
No files found.
wj-manage-web/src/views/situation/trackSwitcher.vue
View file @
c3a14e9b
...
...
@@ -687,12 +687,12 @@ export default {
else
{
this
.
removeLayers
(
"
detetorsA
"
);
this
.
resetHighZoomData
();
let
features
=
[];
for
(
let
car
of
currentFrame
)
{
features
.
push
(
turf
.
point
([
car
.
longitude
,
car
.
latitude
],
car
));
}
let
geo
=
turf
.
featureCollection
(
features
);
mapTools
.
addOrUpdateVehicle
(
window
.
map
,
geo
);
//
let features = [];
//
for (let car of currentFrame) {
//
features.push(turf.point([car.longitude, car.latitude], car));
//
}
//
let geo = turf.featureCollection(features);
mapTools
.
addOrUpdateVehicle
(
window
.
map
,
currentFrame
);
}
dillPath
.
shift
();
if
(
!
dillPath
.
length
)
{
...
...
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