Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Athena
Project
Project
Details
Activity
Releases
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
华国豪
Athena
Commits
8bc0f040
Commit
8bc0f040
authored
Jan 03, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
是
parent
61cf8e61
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
tripMap.vue
src/components/global/tripMap.vue
+8
-8
No files found.
src/components/global/tripMap.vue
View file @
8bc0f040
...
...
@@ -170,15 +170,15 @@
}
});
let
infowindow
=
new
google
.
maps
.
InfoWindow
({
content
:
'<div>'
+
waypoints
[
i
].
name
+
'</div>'
,
size
:
new
google
.
maps
.
Size
(
50
,
50
)
});
//
let infowindow = new google.maps.InfoWindow({
//
content: '
<
div
>
' + waypoints[i].name + '
<
/div>'
,
//
size: new google.maps.Size(50, 50)
//
});
infowindow
.
open
(
_this
.
map
,
marker
);
marker
.
addListener
(
'click'
,
function
()
{
infowindow
.
close
();
})
//
infowindow.open(_this.map, marker);
//
marker.addListener('click', function () {
//
infowindow.close();
//
})
if
(
type
==
3
||
type
==
2
)
{
marker
.
labelContent
=
''
...
...
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