From GamingWiki
Jump to: navigation, search
Line 29: Line 29:
 
}
 
}
 
geocoder = new google.maps.Geocoder();
 
geocoder = new google.maps.Geocoder();
 +
infowindow = new google.maps.InfoWindow();
 
map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
 
map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
 
getMarkerList();
 
getMarkerList();
Line 44: Line 45:
 
// });
 
// });
 
google.maps.event.addListener(marker, "click", function() {  
 
google.maps.event.addListener(marker, "click", function() {  
infowindow.setcontent(description);
+
infowindow.setContent(description);
 
infowindow.open(map,marker);  
 
infowindow.open(map,marker);  
 
});
 
});

Revision as of 01:49, 25 October 2010