Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety
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
Commits
bd863e8e
Commit
bd863e8e
authored
Aug 28, 2021
by
纪泽龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gis地图调整完成,这个版本地图模式还没开始调整
parent
c4202dd7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
gaodeMapView.js
gassafety-web/src/utils/gaodeMapView.js
+2
-0
index.vue
gassafety-web/src/views/enterprise/mapView/index.vue
+3
-0
No files found.
gassafety-web/src/utils/gaodeMapView.js
View file @
bd863e8e
...
@@ -78,6 +78,8 @@ class gaodeMap {
...
@@ -78,6 +78,8 @@ class gaodeMap {
console
.
log
(
e
);
console
.
log
(
e
);
// if (this.lineType !=1 || this.lineFlag) return;
// if (this.lineType !=1 || this.lineFlag) return;
this
.
closeInfoWindow
();
this
.
closeInfoWindow
();
this
.
polyLinesColorClear
();
this
.
view
.
bottomDataShow
=
true
;
this
.
view
.
bottomDataShow
=
true
;
if
(
this
.
lineType
!=
1
||
this
.
lineFlag
)
return
;
if
(
this
.
lineType
!=
1
||
this
.
lineFlag
)
return
;
// 除了这里,还要利用vue页面的window事件辅助,当组件出来的时候,就得利用window事件
// 除了这里,还要利用vue页面的window事件辅助,当组件出来的时候,就得利用window事件
...
...
gassafety-web/src/views/enterprise/mapView/index.vue
View file @
bd863e8e
...
@@ -1270,6 +1270,8 @@ export default {
...
@@ -1270,6 +1270,8 @@ export default {
// this.bottomDataShow = true;
// this.bottomDataShow = true;
// return;
// return;
console
.
log
(
"window"
);
console
.
log
(
"window"
);
// 颜色恢复
this
.
deviceType
=
false
;
this
.
deviceType
=
false
;
// 关闭当前线条的infowindow
// 关闭当前线条的infowindow
// this.gaoMap.closeInfoWindow();
// this.gaoMap.closeInfoWindow();
...
@@ -1352,6 +1354,7 @@ export default {
...
@@ -1352,6 +1354,7 @@ export default {
this
.
troubleObj
=
obj
;
this
.
troubleObj
=
obj
;
},
},
drawerClick
()
{
drawerClick
()
{
this
.
gaoMap
.
polyLinesColorClear
();
this
.
gaoMap
.
closeInfoWindow
();
this
.
gaoMap
.
closeInfoWindow
();
},
},
},
},
...
...
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