0
我已加载一张地图和一个听众:谷歌地图标记和鼠标移动
map = new google.maps.Map(document.getElementById('mapdiv'),opts);
google.maps.event.addListener(map,'mousemove',function(event) {...
一切都很好。我还捕获了一个鼠标点击事件以将坐标传递到数据库。
但我已经添加的航点在地图
for (var wp in waypoints) {
var wpOptions = {strokeColor: waypoints[wp].clr,strokeOpacity: 0.5,strokeWeight: 2,fillColor: waypoints[wp].clr,
fillOpacity: 0.1,map: map,center: waypoints[wp].center,radius:waypoints[wp].sz
};
wpCircle = new google.maps.Circle(wpOptions);
但有些圆(wpCircle)可覆盖相当大的面积 - 这将停止鼠标移动,点击事件。是否有任何方法让鼠标移动时看不见圆圈,以便鼠标响应底层贴图并忽略已铺设的对象?
非常感谢
凯文
点击:假 – geocodezip