Skip to main content

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 begin
  • end - (required) Date - the date when an event is scheduled to be completed
  • event - (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.

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.