From GamingWiki
(8 intermediate revisions by the same user not shown) | |||
Line 31: | Line 31: | ||
} | } | ||
geocoder = new google.maps.Geocoder(); | geocoder = new google.maps.Geocoder(); | ||
− | infowindow = new google.maps.InfoWindow(); | + | infowindow = new google.maps.InfoWindow({maxWidth: 256}); |
map = new google.maps.Map(document.getElementById("map_canvas"), myOptions); | map = new google.maps.Map(document.getElementById("map_canvas"), myOptions); | ||
getMarkerList(); | getMarkerList(); | ||
Line 76: | Line 76: | ||
*/ | */ | ||
function getMarkerList() { | function getMarkerList() { | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
for ( i = 0; i < markers.length; i++ ) { | for ( i = 0; i < markers.length; i++ ) { | ||
marker = markers[i]; | marker = markers[i]; | ||
Line 100: | Line 88: | ||
// --></script> | // --></script> | ||
</html> | </html> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 17:55, 17 March 2011