我想在多段线路径上鼠标悬停/鼠标移出时显示和隐藏工具提示,问题是我的多段线路径只有笔画宽度2,所以不容易命中鼠标悬停事件中的区域,这肯定不方便用户体验。我想知道是否有一种方法可以使用任意宽度使点击区域变宽,但对用户不可见?下面是我的代码片段path=newgoogle.maps.Polyline(plotOptions);path.setMap(that.map);this.polyPathArray.push(path);google.maps.event.addListener(path,'mouseover',(function(index){returnfunction(pol