marker_text

specifies the text of the event in the Google Maps popup marker

Parameters

startDatethe date when an event is scheduled to begin
endDatethe date when an event is scheduled to be completed
eventobjectthe event object

Example

scheduler.templates.marker_text = function(start,end,ev){
     return "<div><b>" + ev.text + "</b><br/><br/>" + (ev.event_location || '') + 
     "<br/><br/>" + scheduler.templates.marker_date(start) + " - " + 
     scheduler.templates.marker_date(end) + "</div>";
};

Applicable views:Map View
See also
Back to top