function showCourtsMarkers() {
  clearCourtsMarkers();
  for (let i = 0; i < courtsInfo.length; i++) {
    window.setTimeout(function() { addMarker(courtsInfo[i]) }, i * 200);
  }
}
/**
 * Add markers for courts.
 * The "i * 200" essentially means that each marker will be placed 200ms
 * after each other. It's a good value because it is short enough that the
 * user won't be waiting too long for the pins to drop, but also long enough that
 * the user can see the effect of the pins dropping individually.
 */
Add markers for courts.
The "i * 200" essentially means that each marker will be placed 200ms
after each other. It's a good value because it is short enough that the
user won't be waiting too long for the pins to drop, but also long enough that
the user can see the effect of the pins dropping individually.
Add markers for courts . The " i * 200 " essentially means that each marker will be placed 200ms after each other . It ' s a good value because it is short enough that the user won ' t be waiting too long for the pins to drop but also long enough that the user can see the effect of the pins dropping individually .
function showCourtsMarkers() {
  clearCourtsMarkers();
  for (let i = 0; i < courtsInfo.length; i++) {
    window.setTimeout(function() { addMarker(courtsInfo[i]) }, i * 200);
  }
}
function showCourtsMarkers ( ) { clearCourtsMarkers ( ) ; for ( let i = 0 ; i < courtsInfo . length ; i ++ ) { window . setTimeout ( function ( ) { addMarker ( courtsInfo [ i ] ) } , i * 200 ) ; } }
Add markers for courts.
Add markers for courts .