marker_text
warning
Эта функицональность устарела
Description
Предоставляет текст, отображаемый в popup-маркере Google Maps для события
Parameters
start- (required) Date - дата начала событияend- (required) Date - дата окончания событияevent- (required) object - детали события
Returns
text- (string) - html-содержимое, которое будет показано в 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
примечание
Этот template работает только если плагин map_view включен.
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.