Hello,
I was hoping to customize the ToolTip window in Map view. As default, it includes the Event Name and Address. I was hoping to add the date and time, city and province, website and featured image. I see that I can likely make the changes in this line of code (in a child theme), but unsure how to select those values to show up.
var infoWindow = new google.maps.InfoWindow();
var content_title = title;
if ( link ) {
content_title = $( ‘<div/>’ ).append( $( “<a/>” ).attr( ‘href’, link ).text( title ) ).html();
}
var content = TribeEventsPro.map_tooltip_event + content_title; //
if ( address ) {
content = content + “<br/>” + TribeEventsPro.map_tooltip_address + address;
}
infoWindow.setContent( content );
google.maps.event.addListener( marker, ‘click’, function( event ) {
infoWindow.open( tg.map, marker );
} );
tg.markers.push( marker );
if ( tg.refine ) {
marker.setVisible( false );
}
tg.bounds.extend( myLatlng );
}
Thank you very much in advance for your help!