From GamingWiki
Line 42: | Line 42: | ||
var marker = new google.maps.Marker({position:latlng, map: map, title:title}); | var marker = new google.maps.Marker({position:latlng, map: map, title:title}); | ||
google.maps.event.addListener(marker, "click", function() { | google.maps.event.addListener(marker, "click", function() { | ||
− | + | console.debug(infowindow); | |
− | |||
infowindow.setContent(document.getElementById(descId)); | infowindow.setContent(document.getElementById(descId)); | ||
infowindow.open(map,marker); | infowindow.open(map,marker); |