Gantt addTaskLayer not rendering milestones

In my project I add custom layer to show baseline in gantt.
Generally it works fine, but I notice then render method for task layer is not called for milestone.
Is there a method to add milestone layer ? or how can I do it ?

Hello Wolland,
The additional layer is called for the milestone and should work correctly. Here is an example:

If it doesn’t work in your case, it can be related to Gantt configuration, but it is hard to suggest what might be wrong as I don’t see your code.
Please, reproduce the issue in the snippet, then click on the “Share” button and send me the link.
Or send me a ready demo with all the necessary Javascript and CSS files so that I can reproduce the issue locally.

I was able to make it work and in the end it was problem with data on my side.
Anyway, thank you for your help.