Commit d59a133e authored by 黄奎's avatar 黄奎

页面修改

parent f8b91e52
...@@ -169,17 +169,18 @@ ...@@ -169,17 +169,18 @@
lineHeight: '20px' lineHeight: '20px'
} }
}); });
//景点
if (type == 2) {
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({ infowindow.open(_this.map, marker);
// content: '<div>' + waypoints[i].name + '</div>', marker.addListener('click', function () {
// size: new google.maps.Size(50, 50) infowindow.close();
// }); })
}
// infowindow.open(_this.map, marker);
// marker.addListener('click', function () {
// infowindow.close();
// })
if (type == 3 || type == 2) { if (type == 3 || type == 2) {
marker.labelContent = '' marker.labelContent = ''
marker.labelStyle = 'background:transparent' marker.labelStyle = 'background:transparent'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment