クリックを待つイベントリスナーが必要です。残念ながら、それが機能した方法はInfoWindows
ここでは機能しないようです...
さて、これが私のものInfoBubble
です:
var infoBubble = new InfoBubble({
map: map,
content: $('#my-div').html(),
position: new google.maps.LatLng(areas[area].lat, areas[area].lng),
shadowStyle: 1,
padding: 0,
borderRadius: 0,
arrowSize: 10,
borderWidth: 1,
borderColor: '#ccc',
disableAutoPan: true,
hideCloseButton: true,
arrowPosition: 15,
arrowStyle: 0
});
そして、これが私のリスナーです:
google.maps.event.addListener(infoBubble, 'click', function(){
console.log("noodle");
});
ところで、Firebug によって報告されたエラーはありません。