From GamingWiki
Jump to: navigation, search
Line 43: Line 43:
 
google.maps.event.addListener(marker, "click", function() {  
 
google.maps.event.addListener(marker, "click", function() {  
 
infowindow.close();
 
infowindow.close();
infowindow.setContent(document.getElementById(descId));
+
infowindow.setContent(document.getElementById(descId).innerHTML);
 
infowindow.open(map,marker);  
 
infowindow.open(map,marker);  
 
console.debug(descId,infowindow.content);
 
console.debug(descId,infowindow.content);

Revision as of 21:53, 28 October 2010