marker_text
warning
The template is deprecated
Description
Specifies the text of the event in the Google Maps popup marker
Parameters
start- (required) Date - the date when an event is scheduled to beginend- (required) Date - the date when an event is scheduled to be completedevent- (required) object - the event object
Returns
text- (string) - html text for rendering in the scheduler
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
note
The template requires the map_view plugin to be activated.
Related Guides
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.