/*
'],[new google.maps.LatLng(26.781873, -80.043815),'BlueHeronBrige','
'],[new google.maps.LatLng(18.230121, -64.851225),'French Cap','
'],[new google.maps.LatLng(26.751667, -80.009833),'Governors River Walk Wrecks','
'],[new google.maps.LatLng(26.750686, -80.012854),'NorthDoubleLedgeWestPalmBeach','
'],[new google.maps.LatLng(17.706667, -64.889650),'Swirling Reef Of Death','
'],[new google.maps.LatLng(18.098971, -67.942559),'X Marks The Spot','
'],[new google.maps.LatLng(18.062337, -67.922037),'The Cracken','
'],[new google.maps.LatLng(18.276588, -64.900112),'Fish Stix','
'],[new google.maps.LatLng(18.157912, -67.950507),'Boulders','
'],[new google.maps.LatLng(18.276481, -64.897312),'Shipwreck Cove','
'],[new google.maps.LatLng(18.159304, -67.951343),'Voldermorts Face','
'],[new google.maps.LatLng(18.359032, -64.745711),'Maho Bay','
'],[new google.maps.LatLng(18.349715, -64.866071),'Coki Beach','
'],[new google.maps.LatLng(18.303520, -64.848115),'Cow Rock','
'],[new google.maps.LatLng(18.316291, -64.853551),'Secret Harbor','
'],[new google.maps.LatLng(17.781895, -64.788912),'Rust-Op-Twist (Bad Weather)','
'],[new google.maps.LatLng(17.713292, -64.890618),'Stripper Pole','
'],[new google.maps.LatLng(17.713763, -64.890255),'Three Amigos','
'],[new google.maps.LatLng(17.774396, -64.811092),'Off The Wall','
'],[new google.maps.LatLng(17.771061, -64.875007),'Hams Bluff','
'],[new google.maps.LatLng(17.714035, -64.887754),'Finding Frogfish','
'],[new google.maps.LatLng(17.713585, -64.884290),'Underwater Drone Test Dive','
'],[new google.maps.LatLng(17.764267, -64.724483),'Love Shack','
'],[new google.maps.LatLng(17.712133, -64.890100),'Mystery Shipwreck','
'],[new google.maps.LatLng(17.784750, -64.759433),'Salt River West','
'],[new google.maps.LatLng(17.717733, -64.892667),'Navy Barge','
'],[new google.maps.LatLng(17.783557, -64.752929),'Pirate Treasure ','
'],[new google.maps.LatLng(17.760188, -64.588898),'Coral Restoration','
'],[new google.maps.LatLng(17.693667, -64.897233),'End Of The Line','
'],[new google.maps.LatLng(17.752433, -64.895150),'2 Deep Wrecks','
'],[new google.maps.LatLng(17.750917, -64.895050),'Shallow Wrecks','
'],[new google.maps.LatLng(17.750094, -64.894169),'Jungle Gym','
'],[new google.maps.LatLng(17.713212, -64.887709),'Searching for Chaney','
'],[new google.maps.LatLng(17.769012, -64.822676),'North Star','
'],[new google.maps.LatLng(18.465906, -66.086628),'Escambron Marine Park','
'],[new google.maps.LatLng(17.714571, -64.884837),'Frederiksted Pier','
'],[new google.maps.LatLng(17.749976, -64.891561),'Solo Diving Shipwrecks','
'],[new google.maps.LatLng(26.793600, -80.003833),'Princess Anne Shipwreck','
'],[new google.maps.LatLng(17.749500, -64.897333),'Armageddon','
'],[new google.maps.LatLng(17.704200, -64.890500),'Aquarium','
'],[new google.maps.LatLng(26.783901, -80.040332),'Blue Heron Bridge Tips','
'],[new google.maps.LatLng(26.680501, -79.934591),'Blackwater Diving','
'],[new google.maps.LatLng(17.784952, -64.788765),'Rust-Op-Twist (Shore & Boat)','
'],[new google.maps.LatLng(26.483678, -80.040587),'Club House','
'],[new google.maps.LatLng(42.045718, -87.617770),'Wells Burt (Schooner)','
'],[new google.maps.LatLng(42.045556, -87.514643),'Straits Of Mackinac','
'],[new google.maps.LatLng(43.612440, -82.513546),'A B Williams','
'],[new google.maps.LatLng(43.266800, -82.464867),'The Sport','
'],[new google.maps.LatLng(43.340739, -82.448371),'Regina','
'],[new google.maps.LatLng(43.00260, -82.424254),'Port Sanilac (Top 5 Reasons)','
'],[new google.maps.LatLng(41.878954, -87.594107),'Why Dive Chicago?','
'],[new google.maps.LatLng(17.714396, -64.883950),'Finding Octopus','
'],[new google.maps.LatLng(43.483896, -82.470738),'Storm Spirit (Recently Discovered)','
'],[new google.maps.LatLng(41.140285, -87.825286),'Haigh Quarry - Dive Planning','
'],[new google.maps.LatLng(29.140525, -118.285248),'Great White Shark Cage Diving','
'],[new google.maps.LatLng(31.843473, -116.623410),'Great White Sharks - Up Close!','
'],[new google.maps.LatLng(33.657796, -118.005985),'Massive Oil Spill while Scuba Diving','
'],[new google.maps.LatLng(34.030334, -118.720203),'Shore Dive Malibu Beach','
'],[new google.maps.LatLng(34.03767, -84.46331),'Lost, Panicked, and Out of Air - Dive Talk React','
'],[new google.maps.LatLng(33.475428, -118.577156),'Deadmans Reef - Catalina Island','
'],[new google.maps.LatLng(17.765003, -64.843568),'Pushing the Limits - Vertigo','
'],[new google.maps.LatLng(18.525146, -64.341314),'Diving the Invisibles','
'],[new google.maps.LatLng(18.498517, -64.415153),'Kraken - Wreck of the Kodiak Queen','
'],[new google.maps.LatLng(18.368947, -64.535672),'RMS Rhone (Diving the Bow)','
'],[new google.maps.LatLng(18.368587, -64.534753),'RMS Rhone (Diving the Stern)','
'],[new google.maps.LatLng(18.346676, -64.599213),'Wreck of the Willy T','
'],[new google.maps.LatLng(18.331303, -64.625739),'Diving the Indians','
'],[new google.maps.LatLng(18.425822, -64.614554),'How to Sail and Dive the BVI','
'],[new google.maps.LatLng(18.464145, -64.527248),'Diamond Reef - Dinghy Diving','
'],[new google.maps.LatLng(61.559350, -149.171013),'Learning to Ice Dive','
'],[new google.maps.LatLng(17.714116, -64.882899),'Top 5 Shore Dives','
'],[new google.maps.LatLng(17.761794, -64.836188),'Davis Bay Tide Pool','
'],[new google.maps.LatLng(18.284168, -64.982671),'WIT Concrete Shipwreck','
'],[new google.maps.LatLng(18.313533, -65.043848),'WIT Shoal Shipwreck','
']]; for (var i = 0; i < locations.length; i++) { var marker = new google.maps.Marker({ position: locations[i][0], map: map, title: locations[i][1], }); // Register a click event listener on the marker to display the corresponding infowindow content google.maps.event.addListener(marker, 'click', (function (marker, i) { return function () { infowindow.setContent(locations[i][2]); infowindow.open(map, marker); } })(marker, i)); // Add marker to markers array YouTubeVideosMarkers.push(marker);} // Trigger a click event on each marker when the corresponding marker link is clicked $('.marker-link-YouTubeVideos').on('click', function() { google.maps.event.trigger(YouTubeVideosMarkers[$(this).data('markerid')], 'click');}); } //end initialize google.maps.event.addDomListener(window, 'load', initialize); }); //end map /* ]]> */