function createMarkerForDisplay(lat, lng, content) {
  const marker = 
    new google.maps.Marker({position: {lat: lat, lng: lng}, map: map});

  var infowindow = new google.maps.InfoWindow({
        content: content
  });

  marker.addListener('click',() => {
        infowindow.open(map, marker);
  });
}
/** Creates a marker that shows a read-only info window when clicked. */
Creates a marker that shows a read-only info window when clicked.
Creates a marker that shows a read - only info window when clicked .
function createMarkerForDisplay(lat, lng, content) {
  const marker = 
    new google.maps.Marker({position: {lat: lat, lng: lng}, map: map});
  var infowindow = new google.maps.InfoWindow({
        content: content
  });
  marker.addListener('click',() => {
        infowindow.open(map, marker);
  });
}
function createMarkerForDisplay ( lat , lng , content ) { const marker = new google . maps . Marker ( { position : { lat : lat , lng : lng } , map : map } ) ; var infowindow = new google . maps . InfoWindow ( { content : content } ) ; marker . addListener ( 'click' , ( ) => { infowindow . open ( map , marker ) ; } ) ; }
Creates a marker that shows a read-only info window when clicked.
Creates a marker that shows a read - only info window when clicked .