app/js/dbhelper.js
/**
   * Map marker for a restaurant.
   */
Map marker for a restaurant.
Map marker for a restaurant .
static mapMarkerForRestaurant(restaurant, map) {
    const marker = new L.marker([restaurant.latlng.lat, restaurant.latlng.lng],
      {title: restaurant.name,
      alt: restaurant.name,
      url: DBHelper.urlForRestaurant(restaurant)
      });
      marker.addTo(newMap);
    return marker;
  }
static mapMarkerForRestaurant ( restaurant , map ) { const marker = new L . marker ( [ restaurant . latlng . lat , restaurant . latlng . lng ] , { title : restaurant . name , alt : restaurant . name , url : DBHelper . urlForRestaurant ( restaurant ) } ) ; marker . addTo ( newMap ) ; return marker ; }
Map marker for a restaurant.
Map marker for a restaurant .
// https://leafletjs.com/reference-1.3.0.html#marker  
