index.js
// close info windows upon clicking new marker
close info windows upon clicking new marker
close info windows upon clicking new marker
function closeWin() {
  for (var i=0; i<infoWinArr.length; i++) {
    infoWinArr[i].close();
  }
}
function closeWin ( ) { for ( var i = 0 ; i < infoWinArr . length ; i ++ ) { infoWinArr [ i ] . close ( ) ; } }
close info windows upon clicking new marker
close info windows upon clicking new marker