function initialize() { var mapOptions = { center: new google.maps.LatLng(54.59673227, -5.92712402), zoom: 11, mapTypeId: google.maps.MapTypeId.ROADMAP, scrollwheel: false, panControl: true, zoomControl: true, gestureHandling: 'auto', mapTypeControl: true, mapTypeControlOptions: { style: google.maps.MapTypeControlStyle.DROPDOWN_MENU }, navigationControl: true, zoomControlOptions: { style: google.maps.ZoomControlStyle.SMALL, position: google.maps.ControlPosition.RIGHT_TOP, }, streetViewControlOptions: { position: google.maps.ControlPosition.RIGHT_TOP } }; map = new google.maps.Map(document.getElementById('map_canvas'), mapOptions); var markers = []; // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent('