Open only one infowindow at a time google maps
Im trying to create a google map with multiple markers that allows only one info window at a time. The markers are the locations of IP cameras and they are fetched through ruby. I've read loads of answers to similar questions whereby the solution is to create only one info window and re-use it. I have tried to implement the solutions from a number of other questions but I can't get it to work. $(document).ready(function () { // execute (function () { // map options var options = { zoom: 2, center: new google.maps.LatLng(25, 10), // centered US mapTypeControl: false, streetViewControl: false };