Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety-progress
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
耿迪迪
gassafety-progress
Commits
d998640f
Commit
d998640f
authored
Mar 20, 2022
by
纪泽龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改map轨迹回放
parent
3841a94d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
15 deletions
+4
-15
map.js
gassafetyprogress-web/src/utils/mapClass/map.js
+4
-15
No files found.
gassafetyprogress-web/src/utils/mapClass/map.js
View file @
d998640f
/*
/*
* @Author: your name
* @Author: your name
* @Date: 2022-01-11 13:45:12
* @Date: 2022-01-11 13:45:12
* @LastEditTime: 2022-03-20 10:
39
:52
* @LastEditTime: 2022-03-20 10:
41
:52
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: /test/hello-world/src/utils/mapClass.js
* @FilePath: /test/hello-world/src/utils/mapClass.js
...
@@ -714,16 +714,6 @@ export class EditorMap {
...
@@ -714,16 +714,6 @@ export class EditorMap {
});
});
}
}
...
@@ -733,16 +723,15 @@ export class EditorMap {
...
@@ -733,16 +723,15 @@ export class EditorMap {
// )[0];
// )[0];
this
.
allDevice
[
"9"
]?.
forEach
(
item
=>
{
this
.
allDevice
[
"9"
]?.
forEach
(
item
=>
{
if
(
item
)
{
if
(
item
)
{
// 停止运动
item
.
stopMove
();
if
(
item
.
polyline
){
if
(
item
.
polyline
){
console
.
log
(
"A"
)
this
.
map
.
remove
(
item
.
polyline
);
this
.
map
.
remove
(
item
.
polyline
);
}
}
console
.
log
(
"B"
,
item
.
passedPolyline
)
if
(
item
.
passedPolyline
){
if
(
item
.
passedPolyline
){
this
.
map
.
remove
(
item
.
passedPolyline
);
this
.
map
.
remove
(
item
.
passedPolyline
);
}
}
//
this.map.remove(item);
this
.
map
.
remove
(
item
);
}
}
})
})
this
.
infowindowClose
();
this
.
infowindowClose
();
...
...
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