function initialize() { var mapOptions = { zoom: 11, center: new google.maps.LatLng(54.59673227, -5.92712402), mapTypeId: google.maps.MapTypeId.ROADMAP, scrollwheel: false }; 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(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRLTRL59031 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.750438, -6.322605) }); google.maps.event.addListener(markerTRLTRL59031, 'click', onMarkerClick); markers.push(markerTRLTRL59031); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRLTRL71043 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.5411922209933, -5.90599790496822) }); google.maps.event.addListener(markerTRLTRL71043, 'click', onMarkerClick); markers.push(markerTRLTRL71043); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRLISTRL50940 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.4337098259954, -6.19701862335205) }); google.maps.event.addListener(markerTRLISTRL50940, 'click', onMarkerClick); markers.push(markerTRLISTRL50940); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRLISTRL51066 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.4335350953101, -6.19706153869629) }); google.maps.event.addListener(markerTRLISTRL51066, 'click', onMarkerClick); markers.push(markerTRLISTRL51066); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRLTRL71737 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.5481615511984, -5.97357884330745) }); google.maps.event.addListener(markerTRLTRL71737, 'click', onMarkerClick); markers.push(markerTRLTRL71737); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRLTRL71738 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.5476730488517, -5.97291901988979) }); google.maps.event.addListener(markerTRLTRL71738, 'click', onMarkerClick); markers.push(markerTRLTRL71738); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRLTRL72423 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.5426112650376, -5.7350768177032) }); google.maps.event.addListener(markerTRLTRL72423, 'click', onMarkerClick); markers.push(markerTRLTRL72423); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRLTRL72460 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.346027, -5.916336) }); google.maps.event.addListener(markerTRLTRL72460, 'click', onMarkerClick); markers.push(markerTRLTRL72460); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRLTRL74086 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.529547, -5.911264) }); google.maps.event.addListener(markerTRLTRL74086, 'click', onMarkerClick); markers.push(markerTRLTRL74086); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRLTRL75081 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.588026, -6.239611) }); google.maps.event.addListener(markerTRLTRL75081, 'click', onMarkerClick); markers.push(markerTRLTRL75081); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRLISTRLIS75156 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.500384, -5.995941) }); google.maps.event.addListener(markerTRLISTRLIS75156, 'click', onMarkerClick); markers.push(markerTRLISTRLIS75156); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRLISTRLIS75155 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.50971, -6.010454) }); google.maps.event.addListener(markerTRLISTRLIS75155, 'click', onMarkerClick); markers.push(markerTRLISTRLIS75155); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRLISTRLIS75154 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.50974, -6.010755) }); google.maps.event.addListener(markerTRLISTRLIS75154, 'click', onMarkerClick); markers.push(markerTRLISTRLIS75154); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRLTRL75264 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.5330989876349, -5.89209333343501) }); google.maps.event.addListener(markerTRLTRL75264, 'click', onMarkerClick); markers.push(markerTRLTRL75264); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRLISTRLIS75554 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.436392, -6.021097) }); google.maps.event.addListener(markerTRLISTRLIS75554, 'click', onMarkerClick); markers.push(markerTRLISTRLIS75554); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRLISTRLIS76409 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.39204, -5.796283) }); google.maps.event.addListener(markerTRLISTRLIS76409, 'click', onMarkerClick); markers.push(markerTRLISTRLIS76409); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRLISTRLIS77616 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.42334, -6.166072) }); google.maps.event.addListener(markerTRLISTRLIS77616, 'click', onMarkerClick); markers.push(markerTRLISTRLIS77616); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRLISTRLIS77901 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.2963645010784, -5.58693304939265) }); google.maps.event.addListener(markerTRLISTRLIS77901, 'click', onMarkerClick); markers.push(markerTRLISTRLIS77901); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var marker26145798 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.4071, -6.196922) }); google.maps.event.addListener(marker26145798, 'click', onMarkerClick); markers.push(marker26145798); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRLISTRLIS79334 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.465148, -6.172518) }); google.maps.event.addListener(markerTRLISTRLIS79334, 'click', onMarkerClick); markers.push(markerTRLISTRLIS79334); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRLTRL79559 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.6936655588095, -5.86404400790411) }); google.maps.event.addListener(markerTRLTRL79559, 'click', onMarkerClick); markers.push(markerTRLTRL79559); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRLTRL79324 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.1873253611871, -7.47908130569454) }); google.maps.event.addListener(markerTRLTRL79324, 'click', onMarkerClick); markers.push(markerTRLTRL79324); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRLTRL80331 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.2032090104913, -7.47621670646663) }); google.maps.event.addListener(markerTRLTRL80331, 'click', onMarkerClick); markers.push(markerTRLTRL80331); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRLTRL80387 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.2115701716659, -7.45515600128169) }); google.maps.event.addListener(markerTRLTRL80387, 'click', onMarkerClick); markers.push(markerTRLTRL80387); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRLISTRL45197 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.433898, -6.092757) }); google.maps.event.addListener(markerTRLISTRL45197, 'click', onMarkerClick); markers.push(markerTRLISTRL45197); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRLTRL82087 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.518677, -5.918483) }); google.maps.event.addListener(markerTRLTRL82087, 'click', onMarkerClick); markers.push(markerTRLTRL82087); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRHTRH82719 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.5874886434667, -5.81074315036017) }); google.maps.event.addListener(markerTRHTRH82719, 'click', onMarkerClick); markers.push(markerTRHTRH82719); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRHTRH82869 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.556894, -5.542382) }); google.maps.event.addListener(markerTRHTRH82869, 'click', onMarkerClick); markers.push(markerTRHTRH82869); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRLTRL83048 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.7393259599712, -6.04258671684261) }); google.maps.event.addListener(markerTRLTRL83048, 'click', onMarkerClick); markers.push(markerTRLTRL83048); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRLTRL83432 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.395326, -5.918016) }); google.maps.event.addListener(markerTRLTRL83432, 'click', onMarkerClick); markers.push(markerTRLTRL83432); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRLTRL83861 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.533700966792, -5.98523035926814) }); google.maps.event.addListener(markerTRLTRL83861, 'click', onMarkerClick); markers.push(markerTRLTRL83861); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRETRE82193 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.5743090492008, -5.83122328205104) }); google.maps.event.addListener(markerTRETRE82193, 'click', onMarkerClick); markers.push(markerTRETRE82193); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRHTRH84753 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.656568, -5.734593) }); google.maps.event.addListener(markerTRHTRH84753, 'click', onMarkerClick); markers.push(markerTRHTRH84753); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRHTRH84470 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.5766090519905, -5.74301615638728) }); google.maps.event.addListener(markerTRHTRH84470, 'click', onMarkerClick); markers.push(markerTRHTRH84470); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRHTRB83010 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.6677841618778, -5.68626597805019) }); google.maps.event.addListener(markerTRHTRB83010, 'click', onMarkerClick); markers.push(markerTRHTRB83010); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRLTRL84311 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.6000970224551, -7.27955714149471) }); google.maps.event.addListener(markerTRLTRL84311, 'click', onMarkerClick); markers.push(markerTRLTRL84311); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRLISTRLIS84149 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.517788, -6.122437) }); google.maps.event.addListener(markerTRLISTRLIS84149, 'click', onMarkerClick); markers.push(markerTRLISTRLIS84149); // Plot Properties var infoWindow = new google.maps.InfoWindow({ maxWidth: 300 }); var onMarkerClick = function() { var marker = this; var latLng = marker.getPosition(); infoWindow.setContent(''); infoWindow.open(map, marker); }; google.maps.event.addListener(map, 'click', function() { infoWindow.close(); }); var markerimg ='/images/marker-new.png'; var markerTRLTRL85518 = new google.maps.Marker({ map: map, icon: markerimg, position: new google.maps.LatLng(54.776014, -6.219882) }); google.maps.event.addListener(markerTRLTRL85518, 'click', onMarkerClick); markers.push(markerTRLTRL85518); var bounds = new google.maps.LatLngBounds(); for (var i = 0; i < markers.length; i++) { bounds.extend(markers[i].getPosition()); } map.fitBounds(bounds); google.maps.event.addListener(infoWindow, 'domready', function() { var iwOuter = $('.gm-style-iw'); var iwBackground = iwOuter.prev(); iwBackground.children(':nth-child(2)').css({'display' : 'none'}); iwBackground.children(':nth-child(4)').css({'display' : 'none'}); iwOuter.parent().parent().css({left: '10px'}); iwBackground.children(':nth-child(1)').attr('style', function(i,s){ return s + 'left: 155px !important;'}); iwBackground.children(':nth-child(3)').attr('style', function(i,s){ return s + 'left: 155px !important;'}); iwBackground.children(':nth-child(3)').find('div').children().css({'box-shadow': '', 'z-index' : '1'}); var iwCloseBtn = iwOuter.next(); iwCloseBtn.css({'display': 'none'}); }); var clusterStyles = [ { textColor: 'white', url: '/images/cluster-new.png', height: 50, width: 50 }, { textColor: 'white', url: '/images/cluster-new2.png', height: 50, width: 50 }, { textColor: 'white', url: '/images/cluster-new.png', height: 50, width: 50 } ]; // Clusters options. var clusterOp = { gridSize: 50, styles: clusterStyles, maxZoom: 15 }; // Construct the Clusters. var markerCluster = new MarkerClusterer(map, markers, clusterOp); } //google.maps.event.addDomListener(window, 'load', initialize);