marker_text

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

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
Details

The template requires the map_view plugin to be activated.

See also
Back to top