function initialize() { var myLatlng = new google.maps.LatLng(51.517514, -0.124679); var myOptions = { zoom: 14, center: myLatlng, mapTypeId: google.maps.MapTypeId.ROADMAP } var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions); var map2 = new google.maps.Map(document.getElementById("map_canvas2"), myOptions); var marker = new google.maps.Marker({ position: myLatlng, map: map, title:"Museum of Comedy" }); var marker2 = new google.maps.Marker({ position: myLatlng, map: map2, title:"Museum of Comedy" }); }