]; for (var i = 0; i < points.length; i++) { //rest of script is static and could be "included" var thisOne = points[i]; var myLatLng = new google.maps.LatLng(thisOne[1], thisOne[2]); bounds.extend(myLatLng); var letter = String.fromCharCode("A".charCodeAt(0) + thisOne[3]); var image = "http://www.google.com/mapfiles/marker" + letter + ".png"; var marker = new google.maps.Marker({ position: myLatLng, map: map, icon: image, title: thisOne[0], }); } map.fitBounds(bounds); } google.maps.event.addDomListener(window, 'load', load); //replaces function calls from element
This event  |   Heads  |   Regattas

Label Latitude Longitude Comment