addMarkersToMap(restaurants = this.restaurants) {
    restaurants.forEach(restaurant => {
      // Add marker to the map
      const marker = DBHelper.mapMarkerForRestaurant(restaurant, map);
      google.maps.event.addListener(marker, 'click', () => {
        window.location.href = marker.url
      });
      markers.push(marker);
    });
  }
/**
   * Add markers for current restaurants to the map.
   */
Add markers for current restaurants to the map.
Add markers for current restaurants to the map .
addMarkersToMap(restaurants = this.restaurants) {
    restaurants.forEach(restaurant => {
      const marker = DBHelper.mapMarkerForRestaurant(restaurant, map);
      google.maps.event.addListener(marker, 'click', () => {
        window.location.href = marker.url
      });
      markers.push(marker);
    });
  }
addMarkersToMap ( restaurants = this . restaurants ) { restaurants . forEach ( restaurant => { const marker = DBHelper . mapMarkerForRestaurant ( restaurant , map ) ; google . maps . event . addListener ( marker , 'click' , ( ) => { window . location . href = marker . url } ) ; markers . push ( marker ) ; } ) ; }
Add markers for current restaurants to the map.
Add markers for current restaurants to the map .
// Add marker to the map