marker_text
Warnung
Die Funktion ist veraltet
Description
Liefert den Text, der im Google Maps Popup-Marker für ein Event angezeigt wird
Parameters
start- (required) Date - das Datum, an dem das Event beginntend- (required) Date - das Datum, an dem das Event endetevent- (required) object - die Event-Details
Returns
text- (string) - HTML-Inhalt, der im Scheduler angezeigt wird
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
Hinweis
Diese Vorlage funktioniert nur, wenn das map_view Plugin aktiviert ist.
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.