Zum Hauptinhalt springen

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 beginnt
  • end - (required) Date - das Datum, an dem das Event endet
  • event - (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.

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.